Skip to main content
POST
Register push token
For the complete error reference, see Error Guide.

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Body

application/json

Response data

platform
enum<string>

FCM push token platform.

Available options:
fcm_android,
fcm_ios,
fcm_web,
fcm_flutter_android,
fcm_flutter_ios,
fcm_react_native_android,
fcm_react_native_ios,
fcm_ionic_cordova_android,
fcm_ionic_cordova_ios
providerId
string
Example:

"fcm-provider-2"

fcmToken
string
authToken
string
Example:

"cometchat-uid-3_1710141033938cf7e3c67cc44465440d"

timezone
string
Example:

"Asia/Kolkata"

Response

200 - application/json

A list of push notification's settings

data
any[]
meta
object