Skip to main content
POST
Save push notification setting.

Authorizations

Authorization
string
header
required

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

Body

application/json

Notification setting information to be updated

level
enum<string>
required

level:

  • user - need to specific modules via notifiableEvents.
  • channel - need to specific channelId.
  • community - need to specific communityId and community event via notifiableEvents.
Available options:
user,
channel,
community
isPushNotifiable
boolean
channelId
string
Required string length: 1 - 900
communityId
string
Required string length: 1 - 900
notifiableEvents
object[]
Required array length: 1 - 7 elements

Response

save information

status
string