WhatsApp
Send WhatsApp Template (with File)
Sends a per-approved template message to WhatsApp (with File support)
POST
/
stable
/
open
/
whatsapp
/
send-template
Authorizations
api_key
string
queryrequiredBody
multipart/form-data
template_id
string
requiredThe Id of the Template, can be found in iOmniHub Dashboard
channel_id
string
requiredThe Id of the WhatsApp Channel, can be found in iOmniHub Dashboard
customer_phone
string
requiredCustomer phone with country code
file
file
File to send
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
requireddata
object
required