Import endpoints
Registers a person's devices for the calling product, as the product's service account, with no user present. For migrating registrations a product already holds; a client registering a device it has in hand uses RegisterDevice with a delegated token instead. The bundle is the calling service account's own application (delivery_app is not a field), which must already hold the matching push credential. Idempotent on (subject, install_id): a re-run replaces the token, as re-registering does.
Required scopes: notify:endpoints:import (service-account only)
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
The person, as a Xeonr Auth user URN (urn:xeonr:auth:uid:user:). string.prefix = "urn:xeonr:auth:uid:user:"
1 <= length <= 191Up to 50 devices.
1 <= items <= 50Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/ImportEndpoints" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"written": "1"
}Get push config POST
Whether web push can deliver in this deployment, the VAPID public key a browser subscribes against, and whether APNs/FCM credentials are held at all — so a native app knows before it asks whether registering a device token can work. **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
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)