Skip to main content
POST
Update notification preferences

Authorizations

__session
string
cookie
required

Clerk session cookie. Authentication is handled by Clerk. Sign in at https://app.dacard.ai/sign-in to obtain a session.

Body

application/json
channel
enum<string>
required

Notification delivery channel

Available options:
email,
slack
severityMin
enum<string>
required

Minimum anomaly severity to trigger a notification

Available options:
low,
medium,
high
enabled
boolean
required

Whether this channel is enabled

slackWebhookUrl
string<uri>

Slack incoming webhook URL (required when channel=slack and enabled=true)

Example:

"https://hooks.slack.com/services/T.../B.../..."

Response

Preference saved

preference
object

Anomaly notification preference for a delivery channel