EaserixDocs
DevelopersAPI referenceNotificationsPreferences

Toggle one category

Single-category upsert; returns the full matrix.

View as Markdown
PUT
/v1/preferences
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/preferences" \  -H "Content-Type: application/json" \  -d '{    "category": "forms.submission",    "enabled": true  }'
{  "preferences": [    {      "category": "string",      "enabled": true    }  ]}