Schedule an SMS broadcast

Creates an SMS broadcast for selected school recipients. The message is sent through the school’s configured Twilio service and may include a form link via form_id.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects a multipart form.
academic_year_idintegerRequired
broadcast_method_idintegerOptional
recipients_idlist of objectsRequired
sent_datedatetimeRequired
subjectstringRequired
messagestringRequired
attributesstringOptional

JSON-encoded broadcast attributes

form_idintegerOptional

Response

SMS broadcast created
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error