Schedule an email broadcast

Creates an email broadcast for selected school recipients, optionally with attachments, forms, document templates, and previous-year balance details. The sent date must be an ISO 8601 timestamp with an offset.

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
attachments_idlist of integersOptional
sent_datedatetimeRequired
subjectstringRequired
messagestringRequired
attributesstringOptional

JSON-encoded broadcast attributes

include_previous_years_balancebooleanOptional
previous_years_balance_typeenumOptional
Allowed values:
form_idintegerOptional
document_template_recipientslist of objectsOptional
form_recipientslist of objectsOptional

Response

Email broadcast created
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error