Skip to main content
POST
Send message
When you send a marketing message through this endpoint, you are responsible for confirming the contact is subscribed before you call it. The message will be sent even if the contact is unsubscribed. You can use the trigger automation API instead to trigger an automation where you check using a condition that the contact is subscribed.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
chat
object
required

Identifies the conversation to send to (by chat id or channel + contact/handle).

body
string

Plain text body of the message.

attachments
object[]

Media or interactive attachments to send with the message.

Media or interactive attachments to send with the message.

header
string

Header text.

Footer text.

replyToMessageId
string<uuid>

Message id to reply to.

scheduledAt
string<date-time>

Schedule the message for a future time (ISO 8601).

Response

OK

success
enum<boolean>
required
Available options:
true
data
object
required