Edit or switch an automation on or off

patch/api/v1/automations/{id}

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/automations/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

namestring
channel'email' | 'sms' | 'whatsapp'
enabledboolean
after_weeksinteger
lapsed_daysinteger
service_idsstring[]
subjectstring
preview_textstring
bodystring

Plain text. Merge fields: {{first_name}}, {{client_name}}, {{business_name}}, {{booking_link}}, {{last_service}}

expected_versioninteger

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.