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

Send Text Broadcast

POST /tenants/{tenant}/text-broadcasts/{code}/send

Sends a draft bulk text: resolves its recipients again, saves them as the snapshot (the record of who was texted), marks it Queued and texts them in the background, whatever the practice's quiet hours. Refused with 409 messaging_no_credit when the practice's balance is under what it would cost. Poll the bulk text for progress and the recipients route for each number's status. When the optional body sets scheduledAt, it is not sent now: it moves to Scheduled and is sent then; a time inside the practice's quiet hours is refused (400).

Requires: Create on EmailBroadcasts and Create on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "scheduledAt": "2024-01-01T00:00:00Z"
}

Responses

202 Accepted
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found
409 Conflict