Properties
| Name | Type | Description |
|---|---|---|
| contactCode | string | The contact texted |
The contact texted | ||
| name | string | The contact's name |
The contact's name | ||
| address | string | The mobile texted, E.164 (as typed when it could not be read as a number) |
The mobile texted, E.164 (as typed when it could not be read as a number) | ||
| status | enum | Held Pending Sent Failed Cancelled DoNotText |
Held Pending Sent Failed Cancelled DoNotText | ||
| heldUntil | string | When a held text goes (UTC); null for one not held |
When a held text goes (UTC); null for one not held | ||
| messageId | string | The message's id in the Messaging Service, once it answered |
The message's id in the Messaging Service, once it answered | ||
| error | string | Why it was not sent, or got no answer |
Why it was not sent, or got no answer | ||
| sentAt | string | When it was sent, failed or cancelled (UTC) |
When it was sent, failed or cancelled (UTC) | ||
| channel | enum | Sms WhatsApp |
Sms WhatsApp | ||
| smsReason | enum | SmsOnly NotKnownOnWhatsApp WhatsAppTemplateInReview WhatsAppTemplateNotApproved WhatsAppTemplateMissing WhatsAppTemplatesUnavailable WhatsAppDoNotText WhatsAppPlaceholderEmpty WhatsAppRefused NotOnWhatsApp |
SmsOnly NotKnownOnWhatsApp WhatsAppTemplateInReview WhatsAppTemplateNotApproved WhatsAppTemplateMissing WhatsAppTemplatesUnavailable WhatsAppDoNotText WhatsAppPlaceholderEmpty WhatsAppRefused NotOnWhatsApp | ||
| smsReasonText | string | The reason in words, as the task shows it ("Not known on WhatsApp.") |
The reason in words, as the task shows it ("Not known on WhatsApp.") | ||
JSON Example
{
"contactCode": "string",
"name": "string",
"address": "string",
"status": "Held",
"heldUntil": "2024-01-01T00:00:00Z"
}