Skip to content

User Notification Settings

List of valid attributes:

AttributeDescriptionSpecifics
unread_messages_emailWhether to send the daily email if the user has unread messagesCan be updated, boolean
user_idID of the user the notification settings belong toCannot be set

This endpoint returns JSON structured like this:

{
"data": {
"id": "67ac4d91-1883-47f8-a9a1-f379bbd29cce",
"type": "notification_settings",
"attributes": {
...
}
}
}

This endpoint returns the user’s notification settings. Each user can only read their own settings.

GET /api/v1/users/:user_id/notification_settings

ParameterDescription
user_idThe ID of the user whose notification settings to return

Example request:

{
"data": {
"type": "notification_settings",
"attributes": {
"unread_messages_email": true
}
}
}

Example response:

{
"data": {
"id": "67ac4d91-1883-47f8-a9a1-f379bbd29cce",
"type": "notification_settings",
"attributes": {
...
}
}
}

This endpoint updates the user’s notification settings. Each user can only update their own settings.

PUT /api/v1/users/:user_id/notification_settings

ParameterDescription
user_idThe ID of the user whose notification settings to update