Appearance
Register this app install for push notifications
POST
/rest/v1/notification/devices
Idempotent on the token: call it on every app start and whenever the token rotates. The caller's auth decides the link: with a customer bearer token the device belongs to that customer; without one it is a signed-out device, so registering after sign-out unlinks it. Answers with the consent that applies to the device.
Request Body
application/json
JSON "token": "string", "kind": "string", "platform": "string", "locale": "el", "appVersion": "1.7.0", "deviceModel": "Pixel 8"
{
}
Responses
Registered
application/json
JSON
"string"