GET
/
api
/
v3
/
notification
/
setting
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
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

level
enum<string>
required
Available options:
user,
channel,
community
channelId
string
Required string length: 1 - 900
communityId
string
Required string length: 1 - 900

Response

200
application/json

Notification Setting Information

The response is of type object.