PATCH
/
v1
/
settings
/
notifications
Update notification preferences snapshot
curl --request PATCH \
  --url https://api.wazapin.com/v1/settings/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "settings": [
    {
      "description": "<string>",
      "enabled": true,
      "key": "<string>",
      "label": "<string>"
    }
  ]
}
'
{
  "data": [
    {
      "description": "<string>",
      "enabled": true,
      "key": "<string>",
      "label": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Session token or API key

Body

application/json
settings
object[] | null
required

Response

OK

data
object[] | null
required