Skip to main content
GET
List messages

Authorizations

Authorization
string
header
required

Workspace API token created in Settings → API. Tokens start with adraa_.

Query Parameters

conversationId
string

Limit results to this conversation in the token's workspace. An unknown conversation or one in another workspace returns 404. Omit this parameter to list messages across the workspace.

Required string length: 1 - 200
Example:

"cmbxgz9pq0003ph01m4n5o6p7"

direction
enum<string>
default:inbound

inbound (default) — from the contact; outbound — from an agent/automation; all — both (excludes internal system messages).

Available options:
inbound,
outbound,
all
cursor
string

The nextCursor from the previous page.

limit
integer
default:50

Page size (1–100).

Required range: 1 <= x <= 100

Response

200 - application/json

A page of messages

messages
object[]
nextCursor
string | null

Pass as cursor for the next page; null on the last page.