Get Conversation Messages
/v1/conversations/{conversation_id}/messagesRetrieves messages from a conversation with pagination support. Messages can be sorted by creation date. Requires chat:read scope.
Authorization
BearerAuth In: header
Path Parameters
The unique identifier (UUID) of the conversation whose messages are requested.
uuidQuery Parameters
Maximum number of messages per page (max 100).
value <= 100Cursor for pagination (get next page).
Cursor for pagination (get previous page).
Sort order for messages (-created_at for newest first, +created_at for oldest first).
"-created_at"Value in
- "-created_at"
- "+created_at"
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/conversations/8b86b34d-3d4e-4f20-9d55-9d4c93d0b8a2/messages"{ "data": [ { "id": "b0dbb0d9-9fea-4a48-9bf6-4a5e2f0db8f6", "content": "Hi Jane, here is the information you requested.", "type": "MESSAGE", "sender": { "id": "9e9097a8-5c9a-4e1e-8218-3b833d8b0039", "name": "Jane Agent", "type": "AGENT" }, "created_at": "2024-01-15T10:05:00Z" } ], "metadata": { "after": "7a30ad46-76a3-42df-9c0c-3fcf1b10f9d2", "before": "2db87b94-212f-4f6f-badd-03b6dd6a1a4e" }}Get Conversation List GET
Retrieves a paginated list of conversations with filtering options. Supports filtering by assignee, contact, status, date range, and channel. Requires `chat:read` scope.
Request Conversation Transfer POST
Creates a transfer request to move a conversation to another agent. Requires `chat:write` scope.