Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

TextBroadcastDto

A bulk text: one text to each chosen contact's mobile at a filtered set of clients, with per-client and
per-recipient token rendering (docs/features/BulkTextMessages/PLAN.md D2). Returned by the text broadcast routes.

Properties

Name Type Description
codestring

Unique code identifying this bulk text

Unique code identifying this bulk text

namestring

What the bulk text is called

What the bulk text is called

statusenum

Draft Queued Sending Completed Failed Cancelled Scheduled Paused

Draft Queued Sending Completed Failed Cancelled Scheduled Paused

routingenum

SmsOnly KnownNumbers TryWhatsAppFirst

SmsOnly KnownNumbers TryWhatsAppFirst

templateCodestring

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.

bodystring

The SMS text with Liquid tokens. Mutually exclusive with TemplateCode.

The SMS text with Liquid tokens. Mutually exclusive with TemplateCode.

whatsAppTemplateIdstring

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

contentVariablesobject

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

recipientContactTypesarray of enum

The client contact types texted at each client

Main Billing Payroll Accounts Director Psc Secretary Trustee

The client contact types texted at each client

Main Billing Payroll Accounts Director Psc Secretary Trustee

savedViewCodeAndNameDto
filterEmailBroadcastFilterDto
excludedClientCodesarray of string

Client codes excluded from the filter results

Client codes excluded from the filter results

additionalClientCodesarray of string

Hand-picked client codes added on top of the filter results

Hand-picked client codes added on top of the filter results

sendOncePerNumberboolean

Whether a number shared by several clients is texted once

Whether a number shared by several clients is texted once

pausedReasonstring

Why a paused send stopped; null unless Paused

Why a paused send stopped; null unless Paused

totalRecipientsinteger

Numbers to text, set when sent

Numbers to text, set when sent

processedRecipientsinteger

Numbers processed so far (sent + failed)

Numbers processed so far (sent + failed)

failedRecipientsinteger

Numbers whose send failed so far

Numbers whose send failed so far

deliveredRecipientsinteger

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

deliveryFailedRecipientsinteger

Numbers whose message was accepted and later failed or went undelivered, from the delivery events (a WhatsApp
message followed by its SMS counts by the SMS); 0 for a draft

Numbers whose message was accepted and later failed or went undelivered, from the delivery events (a WhatsApp
message followed by its SMS counts by the SMS); 0 for a draft

skippedRecipientsinteger

Rows of the snapshot that were skipped (no mobile, preferences, the do-not-text list, a number texted with another
client…); 0 for a draft, whose skips the recipients route resolves live

Rows of the snapshot that were skipped (no mobile, preferences, the do-not-text list, a number texted with another
client…); 0 for a draft, whose skips the recipients route resolves live

creditsEstimatedinteger

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

startedDatestring

When sending started (UTC)

When sending started (UTC)

completedDatestring

When sending finished (UTC)

When sending finished (UTC)

createdDatestring

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

Contained in Schemas