GET
/
api
/
v1
/
conversations
/
{uuid}
/
messages
Get Messages
curl --request GET \
  --url http://localhost:8080/api/v1/conversations/{uuid}/messages \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "success",
  "data": {
    "results": [
      {
        "id": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "uuid": "<string>",
        "type": "incoming",
        "status": "pending",
        "conversation_id": 123,
        "conversation_uuid": "<string>",
        "content": "<string>",
        "text_content": "<string>",
        "content_type": "html",
        "private": true,
        "sender_id": 123,
        "sender_type": "agent",
        "meta": {
          "to": [
            "<string>"
          ],
          "cc": [
            "<string>"
          ],
          "bcc": [
            "<string>"
          ],
          "from": [
            "<string>"
          ],
          "subject": "<string>"
        },
        "attachments": [
          {}
        ]
      }
    ],
    "total": 123,
    "per_page": 123,
    "total_pages": 123,
    "page": 123
  }
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Path Parameters

uuid
string
required

Conversation UUID

Query Parameters

page
integer
default:1

Page number

page_size
integer
default:30

Items per page

Response

200
application/json

Messages retrieved successfully

The response is of type object.