Add contacts in bulk
Add up to 1000 contacts to a campaign in one request.
This is the batch form of Add contact to dynamic campaign. Prefer it whenever you have more than a handful of contacts.
Repeated numbers are kept, not merged. The same number with different variables is called twice.
Rows that fail validation are reported in rejected, and the rest are still
added. A row missing a column that the campaign's call_conditions need is
also rejected. The condition values are not evaluated on this route.
Path parameters
campaign_idintegerrequiredId of the bulk call campaign.
Body
contactsobject[]requiredEach row needs to_number. Note this differs from the
contact_list on Create bulk call, which uses
phone_number and takes loose keys: here the variables go
in an explicit custom_variables object.
Items at most 1000
+ Show child fields (4)− Hide child fields
to_numberstringrequiredNumber to call, in international format.
custom_variablesobjectPassed to the agent as context for this call, so it can use them in the conversation.
metadataobjectStored with the contact and returned on its row in Bulk call results. Not shown to the agent.
previous_from_numberstringThe number that called this person last. With
call_back_from_different_number on, the call goes
out from another number in the pool.
user_idintegerresellers onlyReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.
Was this page helpful?
