WatificationDocs
Conversations

List messages in a conversation

Returns messages in a conversation, newest first. Requires the read scope. Use limit (1 to 50, default 20) and pass nextCursor back as cursor to read the next page. nextCursor is null on the last page. Each item uses the same shape as GET /messages/{messageId}. Errors: 404 CONVERSATION_NOT_FOUND, 422 DEVELOPER_INVALID_INPUT for an invalid cursor or limit.

Responses

StatusMeaning and codes
200A page of messages.
401undefined
403undefined
404undefined
422undefined
429undefined

Success and handled error responses send Cache-Control: no-store and X-Correlation-ID (the resolved/generated UUID). Errors use application/problem+json and the reusable ProblemDetails schema below. Retry-After: 1 is sent only for RATE_LIMITED. Request examples read your key from a server environment variable; replace all fictional values.

Schemas and examples

GET
/conversations/{conversationId}/messages

Authorization

ApiKey
headerAuthorizationBearer <token>

Server-side API key. publicId is 12 lowercase base32 characters (a-z, 2-7); secret is 43 base64url characters from 32 random bytes. Use Authorization: Bearer <complete key>. The API key determines the workspace; requests cannot select another workspace. All public routes share 20 requests per second per key. See API-key authentication.

Path Parameters

conversationId*string

Conversation ID to read messages from.

Formatuuid

Query Parameters

cursor?string

Cursor from a previous page's nextCursor. Omit it for the first page.

Length1 <= length <= 512
limit?integer

Maximum number of messages to return, from 1 to 50.

Range1 <= value <= 50
Default20

Header Parameters

X-Correlation-ID?string

Optional tracing ID. A UUID-shaped value is echoed in the response. Missing or invalid values are replaced with a generated UUID, not rejected.

Response Body

A page of messages.

application/json
  1. response
messages*array<>
nextCursor*|

Pass as cursor to read the next page, or null on the last page.