Notifications

Change the caller's own notification settings

Only the named category and channel cells change. A channel is on only when the category allows it AND the older switches (notify_messages for push, notify_emails for email) allow it; a category can only restrict what a kind does by default. A critical kind stays in the bell whatever in_app says.

patch/api/v1/activity/settings

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/activity/settings
  • Auth: API key in header api-key

Request body

categoriesobject required

{ <category>: { in_app|push|email: boolean } }

Response

OK

categoriesobject
notify_messagesboolean

The older push switch; ANDed with each category's push.

notify_emailsboolean

The older email switch; ANDed with each category's email.

critical_always_in_belltrue

Changes

No recorded changes to this operation across all 3 revisions of this API.