POST
/
stable
/
open
/
whatsapp
/
send-template

Authorizations

X-Myalice-Api-Key
string
headerrequired

Body

multipart/form-data
file
string

File to send

template_id
string
required

The Id of the Template, can be found in MyAlice Dashboard

channel_id
string
required

The Id of the WhatsApp Channel, can be found in MyAlice Dashboard

customer_phone
string
required

Customer phone with country code

body_vars
object

Key-pair values of the variables in the template body

button_vars
object

Key-pair values of the variables in the template buttons

header_type
enum<string>

Key-pair values of the variables in the template buttons

Available options:
none,
text,
document,
image,
video
customer_attributes
object

Key-pair values of the customer variables to be stored against that customer

Response

200 - application/json
success
boolean
required
data
object
required