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](/docs/fundamentals/pagination) for SDK auto-paging helpers.
List all messages in a conversation thread
Related endpoints
POST /comms/send— Send a messageGET /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.
Your RevKeen merchant API key. Create and manage keys in Dashboard → Settings → Developer. Use rk_sandbox_* for staging/test and rk_live_* for production. The same key may be sent as Authorization: Bearer <key> if that suits your HTTP client better. A missing, invalid, expired, or revoked key returns 401 with a WWW-Authenticate: Bearer challenge; a valid key without the required scope returns 403.
In: header
Path Parameters
Thread UUID
uuidQuery Parameters
Maximum number of results (1-100)
1 <= value <= 10050Number of results to skip
0 <= value0Response Body
application/json
application/json
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": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "conversation_id": "cc71b11a-25cd-4c2d-9950-df2cc38e3407", "content": "string", "direction": "string", "sender_type": "string", "created_at": "2019-08-24T14:15:22Z" } ], "total": 0, "limit": 0, "offset": 0}Retrieve a checkout session GET
Retrieve a checkout session by its ID. --- **Related endpoints** - `POST /checkout-sessions` — Create a checkout session - `POST /checkout-sessions/{id}/expire` — Expire a checkout session **Common errors** - `401 authentication_error` — missing, invalid, expired, or revoked credential. Codes: `authentication_failed`, `invalid_api_key`, `expired_api_key`, `api_key_revoked`, `session_invalid`, `merchant_required`. Carries a `WWW-Authenticate: Bearer` challenge. - `404 resource_missing` — the referenced resource does not exist or is not visible to your key.
Send a message POST
Send a direct message to a customer via email, SMS, or WhatsApp --- **Related endpoints** - `GET /comms/threads` — List conversation threads - `GET /comms/threads/{threadId}/messages` — List messages in a thread **Common errors** - `400 invalid_request` — malformed payload or failed validation. **Idempotency** Pass an `Idempotency-Key` header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see [the idempotency guide](/docs/fundamentals/idempotency).