Device Template
Endpoint:https://BASE_URL/api/send/template
Request Type: POST
Sample Response:
| Options | Required | Description |
|---|---|---|
| phone-number | yes | string The destination phone number. Phone number must be in the international format (Example: CompanyName |
| device-id | yes | string Represents the Device ID for Whatsapp. It can be Alphanumeric. It should be passed when the message is sent via whatsapp (It can be found on the manage device page on your Termii dashboard) |
| teplate-id | yes | string The ID of the template used |
| api-key | yes | string Your API key (It can be found on your Termii dashboard). |
| data | object | object Represents an object of key: value pair. The keys for the data object can be found on the device subscription page on your dashboard. (Example: {"product_name": "Termii", "otp" : 120435, }) |