update_notification
Update a notification rule to modify its name, alert type, delivery methods, or triggering events. Rewire targets, change conditions, or silence a rule without deleting it.
Instructions
Update a notification rule. Pass None to leave a field unchanged — only fields with explicit values are sent in the PUT body.
Notification rules trigger emails / desktop pushes / SMS when calls
or form submissions match conditions. Use this to rewire targets,
change triggering events, or silence a noisy rule without deleting
it (set all send_* to False).
Args: notification_id: Notification rule ID. name: Display name for the rule. alert_type: One of: 'call_completed', 'call_missed', 'first_time_caller', 'voicemail', 'form_submission'. Plan-specific — unknown values warn but do not reject. send_email: Send email notification. send_desktop: Send desktop browser push. send_push: Send mobile push notification. call_enabled: Trigger on call events. sms_enabled: Trigger on SMS events. email: Override target email (defaults to user's primary). Validated as RFC-822-ish. account_id: CallRail account ID. Auto-resolves if omitted.
Returns: JSON string with the updated notification rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| send_push | No | ||
| account_id | No | ||
| alert_type | No | ||
| send_email | No | ||
| sms_enabled | No | ||
| call_enabled | No | ||
| send_desktop | No | ||
| notification_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |