Improved
OnSched API & dashboard 3.4.0 — separate email vs SMS notification disables
6 days ago by ReadMe GitHub Action
Company notification channels
- Dashboard — Company settings — Under Company Info, Disable notifications is replaced by Disable email notifications and Disable SMS notifications. Each toggle suppresses only that channel org-wide (appointment and related outbound notifications); webhooks are unchanged.
- API — Company model — Responses include
disableEmailNotificationsanddisableSmsNotificationsinstead ofdisableNotifications.PATCH/POSTbodies should send those fields when updating behavior per channel. - Backward compatibility — writes — If the body includes
disableNotificationsand neitherdisableEmailNotificationsnordisableSmsNotifications, both channel flags are set from that single value (same semantics as before). The legacy field is deprecated in OpenAPI. - Database — Migration adds the two columns, copies values from
disableNotifications, then dropsdisableNotifications. Deploy migrations before relying on the new API shape. - V1 shim —
disableEmailAndSmsNotificationsis true only when both email and SMS are disabled for the company (equivalent to “all outbound email/SMS off”).
