List the messages in a conversation
GET
/api/v1/messages/conversations/{conversationId}Returns the messages of a conversation, paginated, with the text, the media and the delivery state of each one.
The API key needs the scopeRead messages
messages.readParameters
| Name | In | Description |
|---|---|---|
conversationIdrequiredstring (uuid) | path | Conversation id. |
pageinteger | query | Page number, starting at 1.Default: 1 |
pageSizeinteger | query | How many messages per page.Default: 50 |
Responses
200The messages on the page.
application/json
[
{
"id": "1d7a3f9c-2b6e-4c8d-a5f1-7e0b4d2c9a63",
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"conversationId": "3c8e1a5d-7b2f-4d6a-9e0c-5a1f8b3d7e29",
"phoneNumberId": "5f0c2a1e-7d4b-4c8a-9e21-3b6d8f0a4c57",
"contactId": "af147888-ebb0-4ec9-92e5-da66cd561461",
"wabaMessageId": "wamid.HBgNNTUxMTk4ODg4Nzc3NxUCABIYFjNFQjBDNzY1QTkxRjRBMkQ4RTAA",
"provider": "MetaWaba",
"direction": "Inbound",
"type": "Text",
"status": "Read",
"mediaUrl": null,
"text": "Boa tarde! Meu pedido já saiu?",
"caption": null,
"fileName": null,
"replyToWabaMessageId": null,
"createdAt": "2026-11-25T17:38:51.204417Z",
"sentAt": "2026-11-25T17:38:50Z",
"deliveredAt": null,
"readAt": null,
"errorCode": null,
"errorMessage": null,
"contact": {
"id": "af147888-ebb0-4ec9-92e5-da66cd561461",
"name": "Fulano de Tal",
"phoneNumber": "5511988887777",
"profileImageUrl": null
},
"reactions": []
},
{
"id": "9e4b7c2a-6d1f-4a3e-8b5c-0f7d2a9e6c41",
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"conversationId": "3c8e1a5d-7b2f-4d6a-9e0c-5a1f8b3d7e29",
"phoneNumberId": "5f0c2a1e-7d4b-4c8a-9e21-3b6d8f0a4c57",
"contactId": "af147888-ebb0-4ec9-92e5-da66cd561461",
"wabaMessageId": "wamid.HBgNNTUxMTk4ODg4Nzc3NxUCABEYEjZDMUQ0RjNBOEIyRTdDOTUwAA==",
"provider": "MetaWaba",
"direction": "Outbound",
"type": "Text",
"status": "Delivered",
"mediaUrl": null,
"text": "Oi, Fulano! Seu pedido saiu para entrega e chega hoje até as 18h.",
"caption": null,
"fileName": null,
"replyToWabaMessageId": null,
"createdAt": "2026-11-25T17:40:03.511902Z",
"sentAt": "2026-11-25T17:40:04Z",
"deliveredAt": "2026-11-25T17:40:06Z",
"readAt": null,
"errorCode": null,
"errorMessage": null,
"contact": {
"id": "af147888-ebb0-4ec9-92e5-da66cd561461",
"name": "Fulano de Tal",
"phoneNumber": "5511988887777",
"profileImageUrl": null
},
"reactions": []
}
]400Invalid request: a body that is not JSON, a missing required field or a value in the wrong format.
application/json
{
"error": "validation_failed",
"message": "O campo name é obrigatório."
}401Missing or invalid credentials. The response is the same for a key that does not exist and for a wrong secret; without the X-API-KEY header, it comes with no body.
application/json
{
"error": "unauthorized",
"message": "Credenciais de API inválidas."
}403The key authenticated, but it lacks the scope the route requires, or the plan does not include the feature.
application/json
{
"error": "forbidden",
"message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}404The record does not exist in this company.
application/json
{
"error": "not_found",
"message": "Registro não encontrado."
}429The requests-per-minute limit was reached. Wait for the time given in the Retry-After header.
application/json
{
"error": "too_many_requests",
"message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}