Alerts

Upsert Alert Preferences

put/api/alert-preferences

Request

  • Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.kolens.ai/api/alert-preferences
  • Auth: HTTP bearer

Headers

x-kolens-user-idstring nullable

Request body

email_enabledboolean nullable
email_tostring nullable
webhook_enabledboolean nullable
webhook_urlstring nullable
webhook_secretstring nullable
muted_typesstring[] nullable
rate_per_hourinteger nullable
preferred_localestring nullable

BCP-47 tag from the supported set: en | zh-CN | ja

rising_score_thresholdnumber nullable
rising_follower_pctnumber nullable
rising_follower_deltainteger nullable
rising_view_growth_pctnumber nullable
rising_lookback_daysinteger nullable

Response

Successful Response

email_enabledboolean required
email_tostring nullable
webhook_enabledboolean required
webhook_urlstring nullable
webhook_secretstring nullable
muted_typesstring[]
rate_per_hourinteger required
preferred_localestring nullable
supported_localesstring[]
rising_score_thresholdnumber nullable
rising_follower_pctnumber nullable
rising_follower_deltainteger nullable
rising_view_growth_pctnumber nullable
rising_lookback_daysinteger nullable
last_delivered_atstring nullable
last_email_errorstring nullable
last_webhook_errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.