v1

latestOpenAPI 3.0.02026-07-2612645160.3 KB
WhatsApp Message

Send a program a template message to send at a specific time

Send a specific template message to a given phone number at a given time.

post/api/public/whatsapp/message/programmed/create

Headers

x-api-keystring required

API key needed to authorize the request

Request body

scheduledDatestring required

The date and time of the message in ISO 8601 format

templateIdstring uuid required

The template id of the message (uuid)

contactIdentifierstring required

The phone number of the contact

contactNamestring

The name of the contact

channel'whatsapp' | 'web-whatsapp' required

The channel of the message

channelIdstring

The channel id of the message (uuid)

isSmartboolean

If true, the message will be sent as a smart message (AI will use the content to generate the variables)

fromPhoneNumberstring

The phone number of the sender

stageIdstring uuid

The stage id to assign the contact to (uuid)

meta_dataobject required

Additional contact metadata (key-value pairs that will be stored as contact custom fields)