Properties
| Name | Type | Description |
|---|---|---|
| code | string | Unique code identifying this bulk text |
Unique code identifying this bulk text | ||
| name | string | What the bulk text is called |
What the bulk text is called | ||
| status | enum | Draft Queued Sending Completed Failed Cancelled Scheduled Paused |
Draft Queued Sending Completed Failed Cancelled Scheduled Paused | ||
| routing | enum | SmsOnly KnownNumbers TryWhatsAppFirst |
SmsOnly KnownNumbers TryWhatsAppFirst | ||
| templateCode | string | The practice text template whose body is the SMS text. Mutually exclusive with Body. |
The practice text template whose body is the SMS text. Mutually exclusive with Body. | ||
| body | string | The SMS text with Liquid tokens. Mutually exclusive with TemplateCode. |
The SMS text with Liquid tokens. Mutually exclusive with TemplateCode. | ||
| whatsAppTemplateId | string | The WhatsApp template sent where the routing chooses WhatsApp; null with SmsOnly routing |
The WhatsApp template sent where the routing chooses WhatsApp; null with SmsOnly routing | ||
| contentVariables | object | What fills each of the WhatsApp template's placeholders; null with SmsOnly routing |
What fills each of the WhatsApp template's placeholders; null with SmsOnly routing | ||
| recipientContactTypes | array of enum | The client contact types texted at each client |
The client contact types texted at each client | ||
| savedView | CodeAndNameDto | |
| filter | EmailBroadcastFilterDto | |
| excludedClientCodes | array of string | Client codes excluded from the filter results |
Client codes excluded from the filter results | ||
| additionalClientCodes | array of string | Hand-picked client codes added on top of the filter results |
Hand-picked client codes added on top of the filter results | ||
| sendOncePerNumber | boolean | Whether a number shared by several clients is texted once |
Whether a number shared by several clients is texted once | ||
| pausedReason | string | Why a paused send stopped; null unless Paused |
Why a paused send stopped; null unless Paused | ||
| totalRecipients | integer | Numbers to text, set when sent |
Numbers to text, set when sent | ||
| processedRecipients | integer | Numbers processed so far (sent + failed) |
Numbers processed so far (sent + failed) | ||
| failedRecipients | integer | Numbers whose send failed so far |
Numbers whose send failed so far | ||
| deliveredRecipients | integer | Numbers whose message was delivered (or read), from the delivery events; 0 for a draft |
Numbers whose message was delivered (or read), from the delivery events; 0 for a draft | ||
| deliveryFailedRecipients | integer | Numbers whose message was accepted and later failed or went undelivered, from the delivery events (a WhatsApp |
Numbers whose message was accepted and later failed or went undelivered, from the delivery events (a WhatsApp | ||
| skippedRecipients | integer | Rows of the snapshot that were skipped (no mobile, preferences, the do-not-text list, a number texted with another |
Rows of the snapshot that were skipped (no mobile, preferences, the do-not-text list, a number texted with another | ||
| creditsEstimated | integer | The credits the send was estimated to cost when it was sent; null until then |
The credits the send was estimated to cost when it was sent; null until then | ||
| startedDate | string | When sending started (UTC) |
When sending started (UTC) | ||
| completedDate | string | When sending finished (UTC) |
When sending finished (UTC) | ||
| createdDate | string | When the bulk text was created (UTC) |
When the bulk text was created (UTC) | ||
JSON Example
{
"code": "string",
"name": "string",
"status": "Draft",
"routing": "SmsOnly",
"templateCode": "string"
}
Used By Operations
-
POST
Create Text Broadcast
/tenants/{tenant}/text-broadcasts
-
GET
Get Text Broadcast
/tenants/{tenant}/text-broadcasts/{code}
-
PUT
Update Text Broadcast
/tenants/{tenant}/text-broadcasts/{code}
-
POST
Send Text Broadcast
/tenants/{tenant}/text-broadcasts/{code}/send
-
POST
Resume Text Broadcast
/tenants/{tenant}/text-broadcasts/{code}/resume
-
POST
Revert Text Broadcast to Draft
/tenants/{tenant}/text-broadcasts/{code}/revert-to-draft
-
POST
Cancel Text Broadcast
/tenants/{tenant}/text-broadcasts/{code}/cancel