Send Template Message
Send WhatsApp Template Message
POST
https://api.oneroute.io/api/public/conversation/template
Template messages can be delivered at any time. Each template needs to be registered and pre-approved by WhatsApp
Headers
Name | Type | Description |
---|---|---|
apiKey | string | API Key for authentication. |
Request Body
Name | Type | Description |
---|---|---|
messages.*.save | boolean | To save the message as a conversation on OneRoute or not. |
messages.*.template | object | The template object |
messages | array | An array of messages to send |
from | string | |
messages.*.to | string | Whatsapp number to send template message to. |
messages.*.template.name | string | the template name |
Example Request Payload
Example Request Payload (Authentication Template)
Last updated