Properties
| Name | Type | Description |
|---|---|---|
| channel | enum | Sms WhatsApp |
Sms WhatsApp | ||
| body | string | The text: required unless a template is sent, and empty when one is. At most 1,600 characters |
The text: required unless a template is sent, and empty when one is. At most 1,600 characters | ||
| contentSid | string | WhatsApp only: the template to send (HX followed by 32 hex digits, from the WhatsApp templates |
WhatsApp only: the template to send (HX followed by 32 hex digits, from the WhatsApp templates | ||
| contentVariables | object | The template's variables by name ( |
The template's variables by name ( | ||
| templateCode | string | A practice text template's code (from the templates list): its body is rendered on the server for |
A practice text template's code (from the templates list): its body is rendered on the server for | ||
JSON Example
{
"channel": "Sms",
"body": "string",
"contentSid": "string",
"contentVariables": {},
"templateCode": "string"
}