Link Discord
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
Authorization
BearerAuth 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
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/LinkDiscord" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"discord": "map[discordUserId:394832115670351872 dmBlocked:false linkedAt:2026-09-14T08:00:00Z username:luke]"
}Import preferences POST
Writes a person's preference cells for the calling product, as the product's service account, with no user present. For migrating rows a product already holds — a nightly job or a request handler that reaches for this instead of acting for the person is misusing it. The scope is the calling service account's own application (`app_slug` is not a field): a product cannot import another product's cells or the person's blanket rows. Idempotent: each cell upserts on `(subject, app, category, channel)`, so a re-run is safe. The in-app channel is refused, as it is everywhere. **Required scopes:** `notify:preferences:import` (service-account only)
List my devices POST
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