latestOpenAPI 3.1.02026-08-209195261.4 KB
e4bbf7040a0e
messages
Send Message
Send an outbound message (SMS or iMessage) via the provider assigned to the number.
post/v1/messages
Request body
Example request
{
"recipients": [
"+14155551234",
"+16505551234"
],
"channel": "whatsapp",
"send_style": "confetti",
"reply_to_message_id": "cmat9x3i20000a2m6y3d9r1u2",
"buttons": [
"Confirm",
"Reschedule",
"Cancel"
],
"cta": {
"display_text": "Track order",
"url": "https://example.com/track/123"
},
"template": {
"language": "en_US",
"name": "order_shipped",
"variables": [
"1234"
]
}
}Response
Successful Response