Push Notifications
The Channelize.io API supports registering FCM Tokens for mobile apps and desktop browsers.
Register FCM Token
This API lets you register FCM tokens on Channelize.io server. The access token must be sent in the header in the below request.
POST https://api.channelize.io/v2/push_notification_tokens/
Body Params
This table lists all possible parameters body of this API request supports.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
deviceId | string | yes | - | Specifies the unique device ID (Android/ iOS or Browser). |
token | string | yes | - | Specifies the push notification token. You can generate this through FCM libraries. |
Response
Status Code: 201
{
"userId": "20697",
"deviceId": "efe08975272c165b",
"token": "dYX801vISr8:APA91bEYDy0tz1PiTgZAvJJk8n9wa_R7fQH6_AKApNR5VvFU5iyu_p5-sFpHsP4NGgA2qkpWAtEVr7lGxf-Z7XtIrr4AwHoz13U2UDenkVnK9rJwUwkWpFnw2kfPJYjqnq7MkKB5G7lq",
"id": "5cc2c28de382e16ba4e9b5a0"
}