Add contacts
Appends up to 1000 contacts per request. Send more requests for a bigger list. A running campaign picks new contacts up straight away.
Rows are checked one by one. A phone already in the campaign (or repeated in this batch) counts in contacts_duplicate, and a row that can’t be stored is listed in contacts_rejected with its index in your array. The answer is the campaign object with those three counts on top, the same shape a create returns.
A stopped or completed campaign refuses new contacts (409), since nothing would ever call them.
Each contact may also carry not_before (RFC 3339 with its offset: not called before then), expires_at (never called at or after then, retries included; a contact still waiting then ends expired) and priority (−1000000 to 1000000, default 0: among contacts due at the same moment, higher goes first). The calling hours, retries and the do-not-call list still apply.
Send an Idempotency-Key header to make a retry safe: a retry with the same key (within 24 hours, for this campaign) gets the first answer back with Idempotent-Replay: true and adds nothing again.
Authorizations
Headers
Response
Added