settings

Set Notification Preference

Upsert the current user's preference for a single notification type.

post/settings/notifications/preferences

Request body

notification_typestring required
enabledboolean required
scope'all' | 'assigned'

How widely a user wants to receive a (scope-supporting) notification.

ALL means every event of this type at the company; ASSIGNED narrows it to the subset that concerns the user. What "assigned" resolves to is defined by the definition's AssignedScopeSpec.kind.

Response

Successful Response

object required

Changes