RevKeen Docs
Api reference

List messages in a thread

List all messages in a conversation thread


Related endpoints

  • POST /comms/send — Send a message
  • GET /comms/threads — List conversation threads

Common errors

  • 404 resource_missing — the referenced resource does not exist or is not visible to your key.

Pagination

Offset-based with limit (default 25, max 100) and offset. The response pagination block includes total and hasMore. See the pagination guide for SDK auto-paging helpers.

GET
/comms/threads/{threadId}/messages
x-api-key<token>

Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.

In: header

Path Parameters

threadId*string

Thread UUID

Formatuuid

Query Parameters

limit?number

Maximum number of results (1-100)

Default50
Range1 <= value <= 100
offset?|

Number of results to skip

Default0
Range0 <= value

Response Body

application/json

application/json

curl "https://api.revkeen.com/v2/comms/threads/00000000-0000-0000-0000-000000000000/messages" \  -H "x-api-key: $REVKEEN_API_KEY"
{
  "messages": [
    {}
  ],
  "total": 0,
  "limit": 0,
  "offset": 0
}
{
  "error": "string"
}