Cowdidocs
API ReferenceNotification preferences

Update my notification preferences

Partial: only the entries supplied are changed. Mandatory categories are rejected.

PUT
/v1/user/notifications/preferences

Request Body

application/json

Update a recipient's notification preferences

Response Body

application/json

curl -X PUT "https://example.com/v1/user/notifications/preferences" \  -H "Content-Type: application/json" \  -d '{}'
{  "categories": [    {      "category": "SECURITY",      "mandatory": true,      "preference_default": "MANDATORY",      "channels": [        {          "channel": "SMS",          "enabled": true        }      ]    }  ]}