List messages
curl --request GET \
--url https://api.quo.com/messages \
--header 'Authorization: <api-key>' \
--header 'Quo-Api-Version: <quo-api-version>'{
"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"
}
],
"nextCursor": "eyJsYXN0SWQiOiJVU211a09NaXBhIn0"
}Messages
List messages
Get a paginated list of the organization’s messages across all conversations, most recently created first. Supports filtering by from (the sender, equality), to (the exact recipient set, via a bare value or a comma-separated to[all] list), status, direction, phoneNumberId, userId, and a createdAt date range. With an OAuth token, only messages on the phone numbers the user is a member of are returned.
GET
/
messages
List messages
curl --request GET \
--url https://api.quo.com/messages \
--header 'Authorization: <api-key>' \
--header 'Quo-Api-Version: <quo-api-version>'{
"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"
}
],
"nextCursor": "eyJsYXN0SWQiOiJVU211a09NaXBhIn0"
}Headers
Query Parameters
Was this page helpful?