List conversation messages
GET
/api/v1/ext/conversations/{contact_id}/messages
A contact's thread, newest first, on every channel.
Auth: Bearer access_token
Scope: conversations.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contact_id | path | number | yes | The contact id. |
| page | query | number | no | Default 1. |
| limit | query | number | no | 1–100, default 50. Anything else is a 400. |
Responses
| Status | When |
|---|---|
200 | OK |
401 | Missing or invalid token |
403 | Missing scope |
404 | Contact does not exist or is not owned by the installer (same response for both) |
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/conversations/{contact_id}/messages" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": {
"contact_id": 1234,
"workspace_id": 7,
"messages": [
{
"id": 84214,
"direction": "outbound",
"channel": "imessage",
"status": "delivered",
"message": "✦ Effect: confetti\nHappy birthday, Ann!",
"effect": "confetti",
"reaction": null,
"attachments": [],
"error_message": null,
"sent_at": "2026-10-27T09:15:00.000Z",
"delivered_at": "2026-10-27T09:15:02.000Z",
"created_at": "2026-10-27T09:15:00.000Z"
},
{
"id": 84215,
"direction": "inbound",
"channel": "imessage",
"status": "received",
"message": "❤️ Loved: “Happy birthday, Ann!”",
"effect": null,
"reaction": {
"kind": "love",
"emoji": "❤️",
"snippet": "Happy birthday, Ann!"
},
"attachments": [],
"error_message": null,
"sent_at": null,
"delivered_at": null,
"created_at": "2026-10-27T09:16:10.000Z"
},
{
"id": 84213,
"direction": "inbound",
"channel": "whatsapp",
"status": "received",
"message": "Is Tuesday still OK?",
"effect": null,
"reaction": null,
"attachments": [],
"error_message": null,
"sent_at": null,
"delivered_at": null,
"created_at": "2026-10-27T09:12:43.000Z"
}
]
},
"pagination": {
"page": 1,
"limit": 50,
"max_limit": 100,
"total": 37,
"total_pages": 1
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The contact id.
Query parameters
Default 1.
1–100, default 50. Anything else is a 400.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/conversations/%7Bcontact_id%7D/messages
Previous
« List conversations
Next
Get conversation state »
