Upsert a business's notification settings (agents:write) — toggle alerts and set notification email/phone. Closes the gap that previously required service-role notification_settings writes.

patch/v1/notification-settings

Request

  • Base URL: https://www.kaicalls.com/api
  • URL: https://www.kaicalls.com/api/v1/notification-settings
  • Auth: HTTP bearer

Request body

business_idstring required
new_lead_notification_enabledboolean
lead_update_notification_enabledboolean
email_notificationsboolean
in_app_notificationsboolean
sms_notificationsboolean
usage_alert_75_enabledboolean
usage_alert_90_enabledboolean
usage_alert_100_enabledboolean
payment_failure_alert_enabledboolean
notification_emailstring
notification_phonestring
escalation_rulesobject[]

Post-call escalation rules: [{ id?, when, then?, enabled? }]. Alerts go to notification_phone/notification_email. null clears all rules.

Response

Updated notification settings

Changes

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