curl --request POST \
--url https://dev-public-api.openphone.dev/messages \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"content": "Good morning, your service appointment has been booked.",
"from": "PN123abc",
"to": [
"+15555555555"
],
"senderUserId": "<string>",
"inboxStatus": "done"
}
'{
"data": {
"id": "AC123abc",
"to": [
"+15555555555"
],
"from": "+15555555555",
"text": "Hello, world!",
"conversationId": "CN123abc",
"direction": "incoming",
"status": "sent",
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z",
"media": [
{
"url": "https://example.com/image.png",
"type": "image/png"
}
],
"phoneNumberId": "PN123abc",
"userId": "US123abc"
}
}Send a message
Send a text message from your Quo number to one or more recipients.
curl --request POST \
--url https://dev-public-api.openphone.dev/messages \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"content": "Good morning, your service appointment has been booked.",
"from": "PN123abc",
"to": [
"+15555555555"
],
"senderUserId": "<string>",
"inboxStatus": "done"
}
'{
"data": {
"id": "AC123abc",
"to": [
"+15555555555"
],
"from": "+15555555555",
"text": "Hello, world!",
"conversationId": "CN123abc",
"direction": "incoming",
"status": "sent",
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z",
"media": [
{
"url": "https://example.com/image.png",
"type": "image/png"
}
],
"phoneNumberId": "PN123abc",
"userId": "US123abc"
}
}Authorizations
Headers
API version header. Supported values: 2026-03-30
2026-03-30 Body
The content of your message.
1 - 1600"Good morning, your service appointment has been booked."
The ID of the Quo phone number to send from. The sender must be a user on this number.
^PN(.*)$"PN123abc"
The recipients of the message, each a phone number in E.164 format or a short code (3-8 digits). More than one sends a group message. At most 10.
1 - 10 elementsA recipient phone number in E.164 format, or a short code (3-8 digits).
^\+[1-9]\d{1,14}$"+15555555555"
["+15555555555"]
["+15555555555", "+15555555556"]
The unique identifier of the Quo user sending the message. If not provided, the message is attributed to the owner of the phone number it is sent from. The sending user must be a member of the phone number the message is sent from.
^US(.*)$Used to set the status of the related Quo 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.
"done""done"
Response
Accepted
Show child attributes
Show child attributes
Was this page helpful?