Skip to main content
POST
cURL

Authorizations

api_key
string
query
required

Body

multipart/form-data

WhatsApp Template to send

template_id
string
required

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

Example:

"102323213"

channel_id
string
required

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

Example:

"1022"

customer_phone
string
required

Customer phone with country code

Example:

"+628123456789"

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
Example:

"document"

customer_attributes
object

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

Response

Successful operation

success
boolean
required
data
object
required