Skip to main content
POST
Send a message to a contact

Authorizations

Authorization
string
header
required

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

Body

application/json
contactId
string
required

CRM contact id to send to. Must belong to the authenticated organization.

body
string
required

Message text. Renders as plain text on WhatsApp; HTML is not supported on any channel.

Required string length: 1 - 4096
channelAccountId
string

Force send via a specific Instagram or Facebook channel account (UUID). Useful when the org has multiple connected pages and you want to override the default routing.

whatsappInstanceId
string

Force send via a specific WhatsApp instance (UUID). Useful when the org has multiple WhatsApp numbers and you want to override the default routing.

Response

The persisted Message record.