Add a single contact to a collector
POST/collector/:collector_id/contact
Add a single contact (with optional dynamic parameters) and/or a single group to an existing collector. This triggers the collector’s configured message sending logic.
A person whose invitation on this collector was sent, or is still going out, is skipped and is not sent the message again. A collector with a sending rule keeps deciding by its rule. The response includes sendOutcome: how many people are being sent the message (invited) and how many were skipped, by reason.
One add runs on a collector at a time: a request that waits more than five seconds for another add on the same collector returns 503 (collector_busy) with a Retry-After header, nothing was added, and the same request can be sent again.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error