Send an SMS
Sends an SMS message to a phone number. By default, the message is sent from your workspace’s primary phone number.string
required
Recipient phone number in E.164 format (e.g.
"+15550001111").string
required
Message content. Maximum 1,600 characters. Messages longer than 160 characters are split into segments by the carrier.
string
Sender phone number to use. Must be a number registered in your workspace. Defaults to your workspace’s primary number.
Response
Send a WhatsApp message
Sends a WhatsApp message using an approved message template. Templates must be pre-approved through your WhatsApp Business Account before use.string
required
Recipient phone number in E.164 format.
string
required
The approved WhatsApp template name (e.g.
"appointment_reminder").object
Key-value pairs used to fill template placeholders. Keys match the variable names defined in the template.
WhatsApp only allows outbound messages using pre-approved templates. Contact your account manager to set up templates, or manage them in Integrations → WhatsApp.
Response
List messages
Returns paginated message history across all channels. Filter by channel or by a specific lead.string
Filter by messaging channel. Accepted values:
"sms", "whatsapp", "email".string
Return only messages associated with a specific lead.
integer
Number of results per page. Default:
20.Response