Messages
Send a batch of messages
Send a message to multiple recipients. Parameter variables can be included in all string fields and customized with recipient specific values. Each recipient in the request will generate a message and subsequent delivery reports based on the channel used.
post/v1/projects/{project_id}/messages
Request body
Example request
{
"message": {
"card_message": {
"choices": [
{
"call_message": {
"phone_number": "+15551231234",
"title": "Message text"
}
}
]
}
},
"recipient_and_params": [
{
"recipient": {
"identified_by": {
"channel_identities": [
{
"channel": "WHATSAPP"
}
]
}
}
}
],
"send_after": "2025-01-01T12:34:56Z",
"channel_priority_order": [
"WHATSAPP"
]
}Response
OK
Example response
{
"batch_id": "01GCA8RWNW9FVGVSYS1BMKRW80",
"send_after": "2022-11-28T12:46:59Z"
}