Docs

Update Preferences

PATCH /notification-preferences

PATCH/notification-preferences

Updates the authenticated user's notification preferences. Supports partial updates — only the fields provided will be applied. Channel toggles enable or disable entire delivery channels; assignment updates control per-event-type opt-in for a given channel.

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <token>OptionalAuthenticate via OAuth2 in Bruno.

Request Body

FieldTypeRequiredDescription
emailAddressstringOptionalEmail address to use for notification delivery.
channelTogglesChannelToggle[]OptionalEnable or disable delivery channels.
assignmentUpdatesAssignmentUpdate[]OptionalPer-event-type opt-in settings per channel.

ChannelToggle Object

FieldTypeRequiredDescription
channelstringRequiredDelivery channel to toggle (e.g. Email, InApp, Push, Sms).
enabledboolRequiredWhether the channel should be enabled.

AssignmentUpdate Object

FieldTypeRequiredDescription
channelstringRequiredDelivery channel (e.g. Email, InApp).
eventTypestringRequiredDomain event type to configure (e.g. TaskAssigned, AreaUpdated).
enabledboolRequiredWhether this event type should trigger a notification on this channel.

Response

200 OK — No body.