Skip to Content
Xeonr Developer Docs
API SpecificationMessages

List messages

POST
/xeonr.notify.v1.MessageService/ListMessages

A topic's messages newest first, with their delivery counts. Needs any capability on the topic. Unauthenticated callers are allowed for a topic with public_subscribe set.

Cursor-paginated: newest first, over an opaque cursor over (created_at, id). limit is clamped to 500 (0 means the default of 50); pass next_cursor back as cursor for the next page, and an empty next_cursor means there is no further page.

before is the hand-rolled cursor this RPC shipped with. It is deprecated and no longer read: it could not page past a tie, because two messages published in the same millisecond made it either skip a row or repeat one. Use cursor.

Authorization

BearerAuth
AuthorizationBearer <token>

An access token from Xeonr Auth, presented as Authorization: Bearer <token>. Its audience must include https://notify.xeonr.io, and it must carry the scope the method lists.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

topicId?string
Length1 <= length <= 32
before?stringDeprecated

The hand-rolled cursor this RPC shipped with. Replaced by cursor, and no longer read (NTF-42): it could not page past two messages sharing a created_at, skipping or repeating a row, which cursor cannot because it carries the id too.

Still declared so that sending it is not an error for a client that has not been updated. The number is reserved in a later, announced change — removing a published field is a wire break, and this repo's CI refuses one as a side effect.

Formatdate-time
limit?integer

Clamped to 500; zero means the default of 50. Deliberately int32 rather than §2.5's uint32: the field is already published, and retyping it is a wire break on a field in use.

Formatint32
Range0 <= value <= 500
cursor?string

Cursor is opaque, empty for the first page. The keyset is (created_at, id) descending.

Lengthlength <= 256
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.MessageService/ListMessages" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "messages": [
    "map[actions:[map[label:Open request url:https://notify.xeonr.io/messages/msg_8b1e4d7a9c2f6e0b3a5d1c47]] appSlug:xmb body:Luke approved your request for Dune: Part Two. clickUrl:https://notify.xeonr.io/messages/msg_8b1e4d7a9c2f6e0b3a5d1c47 createdAt:2026-10-22T09:30:00Z failedCount:0 fanoutAt:2026-10-22T09:30:02Z id:msg_8b1e4d7a9c2f6e0b3a5d1c47 kind:request.approved priority:3 publisher:urn:xeonr:auth:uid:service_account:57 recipientCount:2 sentCount:2 tags:[requests movies] templateVersion:2 title:Dune: Part Two was approved topicId:tp_3f9a1c7e2b8d4a6f0c5e9b12 topicName:xmb/requests/u-3]"
  ],
  "nextCursor": "MTc5MjY2MTQwMDAwMDAwMC5tc2dfOGIxZTRkN2E5YzJmNmUwYjNhNWQxYzQ3"
}

List inbox POST

The caller's own in-app deliveries, newest first, each with its message and topic. The in-app row always exists for a matched subscriber, so this names every message that reached them even when nothing was pushed. With `unread_only`, just the ones not yet marked read. Cursor-paginated: newest first, over an opaque cursor over the **delivery** row's `(created_at, id)` — the inbox is a list of deliveries, and a delivery is created at fan-out rather than at publish, so a scheduled or coalesced message does not sort where its `created_at` would put it. `limit` is clamped to 500 (0 means the default of 50); pass `next_cursor` back as `cursor` for the next page. `before` is the hand-rolled cursor this RPC shipped with and is **deprecated and no longer read**: it compared against the message's time while this is a list of deliveries, so anything retried or scheduled could be skipped. Use `cursor`. **Required scopes:** `notify:messages:read` — or `notify:inbox:read` on a token a product obtained by RFC 8693 exchange to act for this person, in which case the call is confined to that product's own slice

List recent POST

The newest messages across every topic the caller can see, newest first — the overview's feed. Optionally restricted to one publishing app. Cursor-paginated: newest first, over an opaque cursor over `(created_at, id)`. `limit` is clamped to 500 (0 means the default of 50); pass `next_cursor` back as `cursor` for the next page. **Required scopes:** `notify:messages:read`