List Messages

Authentication

AuthorizationBearer
Your RRay API key.
OR
RRay-Workspace-Idstring

The workspace to act on. Required when your credential is account-level; ignored for workspace-scoped API keys, which already carry their workspace.

Query parameters

idstring or nullOptional

Return the message with this exact id (the id returned by POST /v1/messages).

statuslist of enums or nullOptional

Only return messages whose aggregate status is one of these. Repeat the param for several (status=queued&status=delivered).

recipientstring or nullOptional

Only return messages addressed to this exact address on any channel (to, cc, or bcc).

created_atlist of datetimes or nullOptional
Filter by creation time (RFC 3339). Pass 1 or 2 values: - **Two values** → an inclusive range; order does not matter (`created_at=2026-07-01T00:00:00Z&created_at=2026-07-31T23:59:59Z`). - **One full timestamp** → exact match (`created_at=2026-07-12T09:30:00Z`). - **One date, no time** → that whole calendar day (`created_at=2026-07-12`). Include a timezone offset for local-time filtering (`2026-07-12T00:00:00+07:00`); a value without an offset is interpreted as UTC. To show a user's day in their timezone, send the two local-day boundaries with their offset.
limitintegerOptional1-100Defaults to 20

Rows per page (1–100, default 20).

cursorstring or nullOptional
Opaque pagination token. Omit for the first page (newest rows first). To page, copy `pagination.next_cursor` (older rows) or `pagination.prev_cursor` (newer rows) from the previous response into this parameter — do not build it yourself: the walk direction and the active filter set are encoded in the token, and reusing a cursor with a different filter set is rejected (`validation.cursor_filters_mismatch`).

Response

Successful Response
datalist of objects
paginationobject

total/total_capped are present on the entry page only (no COUNT is executed while walking cursors).

objectstringDefaults to list

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error