Get push config
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
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/GetPushConfig" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"webPushAvailable": "true",
"vapidPublicKey": "BEl62iUYgUivxIkv69yViEuiBIa-Ib9-SkvMeAtA3LFgDzkrxZJjSgSnfckjBJuBkr3qBUYIHBQFLXYp5Nksh8U",
"nativePushAvailable": "true"
}Get notify me POST
The caller's notify roles: whether they are a notify platform admin, which of their teams they administer, and the notify scopes their token carries. The console reads this to decide which screens to show; every RPC still enforces its own scopes. **Required scopes:** `notify:devices:read`
Import endpoints POST
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)