Skip to content

Update notification preferences

PUT
/notifications/preferences
curl --request PUT \
--url http://localhost:8000/api/v1/notifications/preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "channels": { "email": true, "push": true, "inapp": true }, "types": { "reminders": true, "insights": true, "inactivity": true } }'
Media type application/json
object
channels
object
email
boolean
push
boolean
inapp
boolean
types
object
reminders
boolean
insights
boolean
inactivity
boolean
Example generated
{
"channels": {
"email": true,
"push": true,
"inapp": true
},
"types": {
"reminders": true,
"insights": true,
"inactivity": true
}
}

Preferences updated