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 |
|---|---|---|
| recipientCount | integer | Numbers that would be texted, by either channel |
Numbers that would be texted, by either channel | ||
| unsendableCount | integer | Numbers skipped because their message cannot be sent: an SMS that renders empty or too long, or a WhatsApp |
Numbers skipped because their message cannot be sent: an SMS that renders empty or too long, or a WhatsApp | ||
| segments | integer | SMS segments across every number sent the SMS |
SMS segments across every number sent the SMS | ||
| whatsAppRecipientCount | integer | 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) | ||
| followUpSegments | integer | SMS segments that may follow WhatsApp messages WhatsApp turns away: those to numbers not known on WhatsApp |
SMS segments that may follow WhatsApp messages WhatsApp turns away: those to numbers not known on WhatsApp | ||
| isUpTo | boolean | 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 | ||
| whatsAppDailyLimit | integer | Meta's limit on the people a business can start WhatsApp conversations with in a rolling 24 hours, for a business |
Meta's limit on the people a business can start WhatsApp conversations with in a rolling 24 hours, for a business | ||
| creditsPerSmsSegment | integer | Credits one SMS segment costs the practice |
Credits one SMS segment costs the practice | ||
| creditsPerWhatsAppMessage | integer | Credits one WhatsApp message costs the practice |
Credits one WhatsApp message costs the practice | ||
| creditsNeeded | integer | Credits the send would cost, at most: the SMS segments and follow-up segments at the SMS price, plus each |
Credits the send would cost, at most: the SMS segments and follow-up segments at the SMS price, plus each | ||
| balance | integer | The practice's credits now |
The practice's credits now | ||
| isInsideQuietHours | boolean | 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. | ||
| quietHoursEnd | string | 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
}