Skip to Content
SendlySendly
API ReferenceAccount

Turn notification channels on or off

PUT
/api/users/me/notification-preferences

A channel left out keeps its current setting.

Requires the account:write scope — Edit your profile and preferences, export your data, delete your account.

cookiebetter-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

application/json
  1. body
push?boolean

Push notifications on the phones where the user signed in.

in_app?boolean

The in-app notification inbox.

Response Body

OK

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X PUT 'https://api.sendly.now/api/users/me/notification-preferences' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true,  "data": {    "push": true,    "in_app": true  }}