/notifications
/user_preferences

Update preferences

Updates notification preferences with explicit events, opt-in, or opt-out operations. | (UserNotificationPreferencesUpdateRequest) -> (NotificationUserPreferences1)

patch/notifications/user_preferences/update/v1

Request body

set_events_by_channelobject nullable
add_events_by_channelobject nullable
remove_events_by_channelobject nullable
opt_in_to_all_on_channelsNotificationChannelsEnum[] nullable
opt_out_of_all_on_channelsNotificationChannelsEnum[] nullable

Response

Successful Response

schema_version1 required
user_idstring required

Must be a string starting with user_

created_at_timestampstring date-time required
last_edited_at_timestampstring date-time required
email_eventsNotificationEventsForUsersEnum[]
push_eventsNotificationEventsForUsersEnum[]
sms_eventsNotificationEventsForUsersEnum[]
_idstring required

Changes