Creates a batch of up to 1000 contacts as specified by the list of contacts.
The contacts are created asynchronously. A CONTACT_CREATE event will be generated for every successfully created contact.
Security
BearerAuth
The unique ID of the project. You can find this on the Sinch Dashboard.
- https://us.conversationbatch.api.sinch.comhttps://us.conversationbatch.api.sinch.com/v1/projects/{project_id}/contacts
curl -i -X POST \
'https://us.conversationbatch.api.sinch.com/v1/projects/{project_id}/contacts' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contacts": [
{
"channel_identities": [
{
"channel": "WHATSAPP",
"identity": "{{PHONE_NUMBER_1}}"
}
],
"language": "EN_US"
},
{
"channel_identities": [
{
"channel": "RCS",
"identity": "{{PHONE_NUMBER_2}}"
}
],
"language": "EN_US"
},
{
"channel_identities": [
{
"channel": "RCS",
"identity": "{{PHONE_NUMBER_3}}"
}
],
"language": "EN_US"
}
]
}'We'd love to hear from you!
Rate this content: