cURL
curl --request POST \ --url https://api.zavu.dev/v1/broadcasts/{broadcastId}/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "contacts": [ { "recipient": "+14155551234", "templateVariables": { "name": "John", "order_id": "ORD-001" } }, { "recipient": "+14155555678", "templateVariables": { "name": "Jane", "order_id": "ORD-002" } } ] } '
{ "added": 123, "duplicates": 123, "invalid": 123, "errors": [ { "recipient": "<string>", "reason": "<string>" } ] }
Add contacts to a broadcast in batch. Maximum 1000 contacts per request.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of contacts to add (max 1000 per request).
1000
Show child attributes
Contacts added.
Number of contacts successfully added.
Number of duplicate contacts skipped.
Number of invalid contacts rejected.
Details about invalid contacts.