Skip to main content
PUT
/
api
/
v1
/
notifications
/
preferences
Update Notification Preferences
curl --request PUT \
  --url https://api.example.com/api/v1/notifications/preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "whatsapp_enabled": true,
  "email_enabled": true,
  "push_enabled": true,
  "sms_enabled": true,
  "messaging_channel": "<string>",
  "quiet_hours_start": "<string>",
  "quiet_hours_end": "<string>",
  "quiet_hours_tz": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
whatsapp_enabled
boolean | null
email_enabled
boolean | null
push_enabled
boolean | null
sms_enabled
boolean | null
messaging_channel
string | null
quiet_hours_start
string | null
quiet_hours_end
string | null
quiet_hours_tz
string | null

Response

Successful Response