Messages
Send a text message
Send a text message from your OpenPhone number to a recipient.
POST
Body
application/json
The text content of the message to be sent.
Required string length:
1 - 1600
A phone number in E.164 format, including the country code.
DEPRECATED, use "from" instead. OpenPhone phone number ID to send a message from
Example:
"OP1232abc"
The unique identifier of the OpenPhone user sending the message. If not provided, defaults to the phone number owner.
Example:
"US123abc"
Used to set the status of the related OpenPhone inbox conversation. The default behavior without setting this parameter will be for the message sent to show up as an open conversation in the user's inbox. Setting the parameter to 'done'
would move the conversation to the Done inbox view.
Available options:
done
Example:
"done"
Response
202
application/json
Success
Was this page helpful?