Register device
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
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
A client-minted id stable across the install's life.
1 <= length <= 64EndpointKind is which push machinery minted a device's token.
"ENDPOINT_KIND_UNSPECIFIED" | "ENDPOINT_KIND_WEB_PUSH" | "ENDPOINT_KIND_APNS" | "ENDPOINT_KIND_FCM"web | ios | android. Display and diagnostics, not routing.
length <= 16The Web Push subscription JSON, or a raw APNs/FCM token.
1 <= length <= 4096"Chrome on macOS", a phone model. Display only.
length <= 128For an apns device: production | development, whichever the build was signed for. Defaults to the deployment's own setting. A token sent to the wrong environment is refused in a way that looks like a dead device, so this is recorded rather than assumed.
length <= 16Whose app bundle this device belongs to — an app slug with its own push credentials. Empty is the Xeonr Notify app.
length <= 64Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/RegisterDevice" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"endpoint": "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]"
}Reconcile managed rows POST
Deletes the rows a product created for a person through a delegated token — subscriptions, devices, preference cells and the Discord link stamped `managed_by` the calling product — as the product's service account, with no user present. Confined to the calling service account's own application: `managed_by` is never a field, so a product reaches only its own rows, and rows the person or another product created are untouched. Idempotent: a second call deletes nothing. **Required scopes:** `notify:managed:reconcile` (service-account only)
Send test POST
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`