Properties
| Name | Type | Description |
|---|---|---|
| name | string | Who is texted: the contact's name, or the contact type when the client has nobody of it |
Who is texted: the contact's name, or the contact type when the client has nobody of it | ||
| address | string | The number, in E.164; null when there is no number to text |
The number, in E.164; null when there is no number to text | ||
| channel | enum | Sms WhatsApp |
Sms WhatsApp | ||
| smsReason | string | Why SMS where WhatsApp might have been sent ("Not known on WhatsApp.", the client's preferences…); null on |
Why SMS where WhatsApp might have been sent ("Not known on WhatsApp.", the client's preferences…); null on | ||
| text | string | The message as it would be sent: the SMS text, or on WhatsApp the template's approved text with each placeholder |
The message as it would be sent: the SMS text, or on WhatsApp the template's approved text with each placeholder | ||
| segments | integer | SMS segments the text is sent as, the count the Messaging Service charges; 0 on WhatsApp or when nothing is sent |
SMS segments the text is sent as, the count the Messaging Service charges; 0 on WhatsApp or when nothing is sent | ||
| status | enum | Pending Sent Failed Skipped |
Pending Sent Failed Skipped | ||
| skipReason | string | Why the person would not be texted; null when they would be |
Why the person would not be texted; null when they would be | ||
JSON Example
{
"name": "string",
"address": "string",
"channel": "Sms",
"smsReason": "string",
"text": "string"
}