Links

HSM (template) messages

get
https://eu.hightouch.ai/api/bot/waba_templates/template_id/
Getting a hsm-template
get
https://eu.hightouch.ai/api/bot/waba_templates/
Getting a list of hsm-templates
post
https://eu.hightouch.ai
/api/v2/bot/messages/send_waba_template_message/
Send HSM template message
[
{
"type" : "header",
"parameters":
[
{
"type": "text",
"text": "replacement_text"
}
]
},
{
"type" : "body",
"parameters":
[
{
"type": "text",
"text": "replacement_text"
},
{
"type": "text",
"text": "another_text"
},
{
...
# Any additional template parameters
}
]
},
{
"type": "button",
"sub_type" : "url",
"index": "0",
"parameters":
[
{
"type": "text",
"text": "9rwnB8RbYmPF5t2Mn09x4h"
}
]
},
{
"type": "button",
"sub_type" : "url",
"index": "1",
"parameters":
[
{
"type": "text",
"text": "login"
}
]
},
]
The index field in the button block is the index number of the button. There can be 3 buttons in the HSM message.
The text field in the button parameters, is the text that can be added to the url of the button.