Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The ID of the WhatsApp template to send
The ID of the WhatsApp number to send the template from
A list of values to be used for the variables in the template. Values will be taken in order; HEADER
then BODY
then BUTTONS
. This works whether the template's parameters are NAMED
or POSITIONAL
.
A contact identifier; either an ID, email, or phone number. If no contact is found, a new contact will be created (if a phone number was provided).
- ID
- Email
- Phone
Optional OpenCX session ID to send the template to. If not provided, a new session will be created. If provided ID is related to another WhatsApp phone number or is not a WhatsApp session or is related to a different contact, a new WhatsApp session will be created.