curl --request GET \
--url https://{appid}.api-{region}.cometchat.io/v3/notifications/v1/preferences/timezone \
--header 'apikey: <api-key>'
{
"data": {
"timezone": "Asia/Kolkata"
}
}
Get the timezone on behalf of the user.
curl --request GET \
--url https://{appid}.api-{region}.cometchat.io/v3/notifications/v1/preferences/timezone \
--header 'apikey: <api-key>'
{
"data": {
"timezone": "Asia/Kolkata"
}
}
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
(Required) UID
A list of push notification's settings
The response is of type object
.