WhatsApp messaging
Send template message
Sends a predefined template to the customer.
post/admin/messengers/whatsapp-send-template
Request
- Base URL: https://demo.splynx.com/api/2.0
- URL: https://demo.splynx.com/api/2.0/admin/messengers/whatsapp-send-template
- Auth: HTTP basic
Query parameters
chat_idnumber double required
Example:1
The ID of the chat.
paramsstring
Example:http_build_query($search)
Any parameters of record. <br>You should set at least one record`s parameter. <br>This parameters should be converted to query string.<br>For example:<br>$search = [ <br> 'main_attributes' => [<br> 'inbound' => 1<br> ], <br> 'limit' => 15,<br> 'offset' => 5<br>];<br>
Request body
Example request
{
"phone": "420123456879",
"chat_id": 1,
"template_id": 1,
"customer_id": 1,
"admin_id": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.