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

TextBroadcastEstimateDto

What a draft bulk text would cost now (docs/features/BulkTextMessages/PLAN.md D10, D11): every recipient's message
rendered, each SMS counted in segments with the Messaging Service's own counter, each WhatsApp message as one, at the
practice's own prices, against its balance. With a routing that may use WhatsApp the figure is "up to": it includes
the SMS that may follow a WhatsApp message to a number not known on WhatsApp.

Properties

Name Type Description
recipientCountinteger

Numbers that would be texted, by either channel

Numbers that would be texted, by either channel

unsendableCountinteger

Numbers skipped because their message cannot be sent: an SMS that renders empty or too long, or a WhatsApp
placeholder that renders empty where the client's preferences do not allow the SMS in its place

Numbers skipped because their message cannot be sent: an SMS that renders empty or too long, or a WhatsApp
placeholder that renders empty where the client's preferences do not allow the SMS in its place

segmentsinteger

SMS segments across every number sent the SMS

SMS segments across every number sent the SMS

whatsAppRecipientCountinteger

Numbers that would be sent the WhatsApp message (the rest of RecipientCount get the SMS)

Numbers that would be sent the WhatsApp message (the rest of RecipientCount get the SMS)

followUpSegmentsinteger

SMS segments that may follow WhatsApp messages WhatsApp turns away: those to numbers not known on WhatsApp
("try WhatsApp first") whose clients allow SMS. Counted in CreditsNeeded.

SMS segments that may follow WhatsApp messages WhatsApp turns away: those to numbers not known on WhatsApp
("try WhatsApp first") whose clients allow SMS. Counted in CreditsNeeded.

isUpToboolean

Whether CreditsNeeded is an "up to" figure: the bulk text may use WhatsApp

Whether CreditsNeeded is an "up to" figure: the bulk text may use WhatsApp

whatsAppDailyLimitinteger

Meta's limit on the people a business can start WhatsApp conversations with in a rolling 24 hours, for a business
portfolio Meta has not verified (shared by every number in the portfolio; a verified one has at least 2,000).
When WhatsAppRecipientCount is over it, WhatsApp may refuse the rest with Twilio error 63018. Null when the bulk
text sends no WhatsApp message.

Meta's limit on the people a business can start WhatsApp conversations with in a rolling 24 hours, for a business
portfolio Meta has not verified (shared by every number in the portfolio; a verified one has at least 2,000).
When WhatsAppRecipientCount is over it, WhatsApp may refuse the rest with Twilio error 63018. Null when the bulk
text sends no WhatsApp message.

creditsPerSmsSegmentinteger

Credits one SMS segment costs the practice

Credits one SMS segment costs the practice

creditsPerWhatsAppMessageinteger

Credits one WhatsApp message costs the practice

Credits one WhatsApp message costs the practice

creditsNeededinteger

Credits the send would cost, at most: the SMS segments and follow-up segments at the SMS price, plus each
WhatsApp message at its price

Credits the send would cost, at most: the SMS segments and follow-up segments at the SMS price, plus each
WhatsApp message at its price

balanceinteger

The practice's credits now

The practice's credits now

isInsideQuietHoursboolean

Whether now is inside the practice's quiet hours. A send started by hand still goes at once.

Whether now is inside the practice's quiet hours. A send started by hand still goes at once.

quietHoursEndstring

When the quiet hours end (UTC); null outside them

When the quiet hours end (UTC); null outside them

JSON Example

{
  "recipientCount": 128,
  "unsendableCount": 0,
  "segments": 140,
  "whatsAppRecipientCount": 40,
  "followUpSegments": 12
}

Used By Operations