Register a Device for Notifications
Register a Device for Notifications
Save a device’s push token so a user gets notifications on it.
A user can have several devices — register each one and they all receive notifications. Sending the same token again is safe and simply refreshes it.
POST
Register a Device for Notifications
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
Register (or refresh) a device's push-notification token.
Response
Successful Response
Standard response wrapper for single-object responses and errors.
Generic over the payload type. A route that declares
CommonResponse[SomeModel] gets the real data schema rendered in
OpenAPI/Swagger; a bare CommonResponse leaves data untyped.

