curl --request GET \
--url https://apix.us.amity.co/api/v3/notification/setting \
--header 'Authorization: Bearer <token>'{
"isPushNotifiable": true,
"isUserEnabled": true,
"notifiableEvents": [
{
"name": "channel.created",
"moduleName": "chat",
"eventName": "<string>",
"isPushNotifiable": true,
"parameters": [
"<string>"
],
"titleTemplate": "<string>",
"bodyTemplate": "<string>",
"listenFromRoleIds": [
"<string>"
],
"ignoreFromRoleIds": [
"<string>"
],
"isNetworkEnabled": true
}
]
}Get push notification setting.
curl --request GET \
--url https://apix.us.amity.co/api/v3/notification/setting \
--header 'Authorization: Bearer <token>'{
"isPushNotifiable": true,
"isUserEnabled": true,
"notifiableEvents": [
{
"name": "channel.created",
"moduleName": "chat",
"eventName": "<string>",
"isPushNotifiable": true,
"parameters": [
"<string>"
],
"titleTemplate": "<string>",
"bodyTemplate": "<string>",
"listenFromRoleIds": [
"<string>"
],
"ignoreFromRoleIds": [
"<string>"
],
"isNetworkEnabled": true
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
user, channel, community 1 - 9001 - 900