Notifications
Add Device
Call to add or register a device for notifications. This endpoint allows clients to register a device by providing its details such as device ID, FCM ID, app version, and other relevant information. The registered device will be used to send notifications. The request body must contain the device payload information.
POST
Authorizations
The API requires a Bearer token in the Authorization header for authentication.
Body
application/json
The request body must contain the device payload information. The format should be:
"devicePayload": {
"app-id": "string",
"app-platform": "string",
"app-version": "string",
"did": "string",
"fcm-id": "string",
"fid": "string",
"lang": "string",
"os-version": "integer",
"user-hash": "string"
}
} ```
Response
200 - application/json
The response is of type object
.