Skip to Content
Xeonr Developer Docs
API SpecificationDevices and preferences

List my devices

POST
/xeonr.notify.v1.DeviceService/ListMyDevices

The caller's own registered push endpoints, with their labels, platforms, last-seen times and the last error each one returned. Tokens are never included.

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. One person rarely has more than a handful of devices, so the first page is normally the whole list.

Required scopes: notify:devices:read — or notify:endpoints: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

cursor?string

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

Lengthlength <= 256
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/ListMyDevices" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "endpoints": [
    "map[apnsEnvironment:production createdAt:2026-09-14T08:00:00Z deliveryApp:xmb deviceLabel:Luke's iPhone id:ep_2a4c6e8f0b1d3f5a7c9e1b3d installId:3f9c2a71-6b0e-4d8a-9f21-5c7e8b4d2a10 kind:ENDPOINT_KIND_APNS lastSeenAt:2026-10-22T09:30:00Z platform:ios subject:urn:xeonr:auth:uid:user:3]"
  ],
  "nextCursor": "MTc5MjY2MTQwMDAwMDAwMC5lcF8yYTRjNmU4ZjBiMWQzZjVhN2M5ZTFiM2Q"
}

Link Discord POST

Reads the caller's **own** Discord connection from their Xeonr account and stores the id, so the bot can DM them. There is no second OAuth dance: the link already exists at the IDP, and this call is the consent to use it. Fails when the account has no Discord connection — connect it in the auth portal first — and needs a session that carries an access token, since notify asks auth as the caller. **Required scopes:** `notify:devices:edit`

List my preferences POST

The whole preference grid: a row per (app, category) the caller could plausibly hear from, a cell per channel, each cell carrying what the defaults would do, whether this person has overridden it, which wider scope an inherited answer came from, and whether the channel can serve them at all. Everything the console needs to render the grid without asking anything else. The stored rows are returned alongside it for a client that wants the overrides rather than the resolved grid. Cursor-paginated over `scopes`: the grid rows in `(app_slug, category)` ascending order — the everything row (both empty) sorts first — over an opaque cursor over that pair. `limit` is clamped to 500 (0 means the default of 50); pass `next_cursor` back as `cursor` for the next page. `preferences` is not paged: it is the caller's complete set of stored overrides and is repeated on every page. **Required scopes:** `notify:devices:read` — or `notify:preferences: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