Create and send a voice message

Uploads a voice recording, associates it with a supported school record, and queues delivery through the configured Twilio account.

Authentication

AuthorizationBearer

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

Request

This endpoint expects a multipart form containing a file.
fromstringRequired
tostringRequired
titlestringRequired
voicefileRequired
Voice recording uploaded for delivery.
model_nameenumRequired
Allowed values:
model_idintegerRequired>=1

Response

Voice message was stored and queued or marked unavailable when Twilio settings are absent.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error