Send test
Sends a test notification to one of the caller's own devices — or over a named channel, to test email or Discord instead. It goes out for real but outside the ledger, so it proves the whole path from the console without leaving a delivery row. The response carries whatever the provider said when it failed.
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
One of the caller's devices. Omit and give channel instead to test
email or Discord.
length <= 64Which channel to test; defaults to push when an install id is given.
"CHANNEL_UNSPECIFIED" | "CHANNEL_IN_APP" | "CHANNEL_WEB_PUSH" | "CHANNEL_NATIVE_PUSH" | "CHANNEL_EMAIL" | "CHANNEL_DISCORD" | "CHANNEL_WEBHOOK"Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/SendTest" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"sent": "false",
"error": "apns: BadDeviceToken"
}Register device POST
Registers a push endpoint for the caller. One row per (person, install id): re-registering replaces it, so token rotation is an upsert and a revoked device comes back to life. The token crosses this API exactly once and is sealed at rest; nothing ever returns it. A service account is refused — it has no devices. **Required scopes:** `notify:devices:edit` — or `notify:endpoints: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
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