Passo Developers
Api

List a conversation's messages

GET
/conversations/{conversationId}/messages

Returns a thread's most recent messages first (the newest limit, ordered oldest to newest within that window) — each with its body, author id and the author's resolved display name and avatar (null when the author account is gone), and time. The thread is identified by its cnv_ public id in the path. Paginated via limit (default 30, max 100), offset, and the opaque keyset cursor from a previous page's nextCursor (null when no older messages remain; it pages toward older messages, so offset is ignored when a cursor is given). total is the unpaginated count. An empty page if the thread doesn't exist or you can't see it.

Authorization

AuthorizationBearer <token>

A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.

In: header

Path Parameters

conversationId*string
Length1 <= length

Query Parameters

limit?integer
Range-9007199254740991 <= value <= 9007199254740991
offset?integer
Range0 <= value <= 9007199254740991
cursor?string

Response Body

application/json

curl -X GET "https://example.com/conversations/string/messages"
{  "messages": [    {      "id": "string",      "body": "string",      "authorUserId": "string",      "authorDisplayName": "string",      "authorAvatarUrl": "string",      "createdAt": "string"    }  ],  "total": -9007199254740991,  "limit": -9007199254740991,  "offset": -9007199254740991,  "nextCursor": "string"}