Skip to Content
Xeonr Developer Docs
API SpecificationMessages

List inbox

POST
/xeonr.notify.v1.MessageService/ListInbox

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

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

before?stringDeprecated

The hand-rolled cursor this RPC shipped with. Replaced by cursor, and no longer read (NTF-42). It compared against the message's created_at while the inbox lists deliveries, and a delivery is created at fan-out — so anything retried or scheduled sorted where it was written rather than where it arrived, and paging could skip it.

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.

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
unreadOnly?boolean

validate:skip a bool has no bounds

cursor?string

Cursor is opaque, empty for the first page. The keyset is the delivery row's (created_at, id) descending, not the message's.

Lengthlength <= 256
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.MessageService/ListInbox" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "items": [
    "map[delivery:map[attempts:0 channel:CHANNEL_IN_APP createdAt:2026-10-22T09:30:02Z id:dl_2b8e4c1a9f7d3e6b0c5a8f12 messageId:msg_8b1e4d7a9c2f6e0b3a5d1c47 status:DELIVERY_STATUS_SENT subject:urn:xeonr:auth:uid:user:3] message: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] topicId:tp_3f9a1c7e2b8d4a6f0c5e9b12 topicName:xmb/requests/u-3]"
  ],
  "nextCursor": "MTc5MjY2MTQwMjAwMDAwMC5kbF8yYjhlNGMxYTlmN2QzZTZiMGM1YThmMTI"
}