Set my preference
Sets one switch, at one scope: empty app_slug and empty category is the everything row, an app with no category is everything that product sends, and both together is one kind of event from one product. The most specific row that matches wins, per channel. Writing the state that already resolves is a no-op rather than an error, so a grid can submit whatever the person clicked. A channel that cannot serve this person at all is refused, and the in-app inbox cannot be switched off — it is the delivery record.
Required scopes: notify:devices:edit — or notify:preferences:edit 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 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
Empty app_slug and empty category is the everything row.
length <= 64length <= 64Channel is how a delivery reaches somebody. In-app is the inbox row and always exists for a matched subscriber, so the ledger names every person a message reached even when nothing was pushed.
"CHANNEL_UNSPECIFIED" | "CHANNEL_IN_APP" | "CHANNEL_WEB_PUSH" | "CHANNEL_NATIVE_PUSH" | "CHANNEL_EMAIL" | "CHANNEL_DISCORD" | "CHANNEL_WEBHOOK"validate:skip a bool has no bounds
Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/SetMyPreference" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"preference": "map[appSlug:xmb category:requests channel:CHANNEL_EMAIL enabled:false updatedAt:2026-10-22T09:30:00Z]"
}Set my Discord link POST
Stores the Discord account notify will DM for the caller. Verified before storing: the id must resolve, at Xeonr Auth, to the caller's own account — link Discord on the Xeonr account first (`/account/link/discord`), then call this. A product acting for a person uses this where the person would use LinkDiscord: it reads the person's connection from auth as them and hands notify the id, and notify checks it rather than trusting it. Re-linking clears a DM-blocked flag. **Required scopes:** `notify:discord:edit` — delegatable
Unlink Discord POST
Stops Discord DM delivery to the caller. The connection at the IDP is untouched — this removes only notify's consent to use it. **Required scopes:** `notify:devices:edit`