Compose Inbox Sms
POST /inbox/sms/compose
COMPOSE AN SMS. WITH save_as_draft FALSE THIS REACHES A REAL PHONE.
Sends through the organisation’s own number and files the message into the
SMS thread, so the conversation stays in one place. save_as_draft
defaults to FALSE, which means send.
Classified external (inbox:run). from_number must be a number this
organisation owns - checked before anything is saved or sent, a 400
otherwise (see the module docstring for why the check lives here).
Authorizations
Parameters
Header Parameters
Request Body required
Compose an SMS: save it as a draft, or SEND IT TO A REAL PHONE.
save_as_draft defaults to FALSE, which means SEND.
object
Message text.
A number this organisation owns, E.164.
FALSE SENDS THE MESSAGE. True stores a draft.
The recipient’s number, E.164. A real phone.
Responses
200
Successful Response
object
An open envelope for a comment, an assignment or a workspace.
Open because a comment carries attachment refs and mention metadata that grow, and because an assignment result reports per-assignee outcomes.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error