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
/
notification
/
add-device
Authorizations
auth
string
headerrequiredThe API requires the following auth in headers 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"
}
} ```
devicePayload
object
Response
200 - application/json
The response is of type object
.