Update a form. Changed questions create a new version; earlier responses keep theirs

patch/api/v1/intake-forms/{id}

Request

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

Path parameters

idstring required

Request body

namestring
descriptionstring
service_idsstring[]
activeboolean
send_to'all' | 'new_clients'
valid_monthsinteger

How long an answer stays valid; 0 asks at every visit

required_beforeboolean

Shown to staff as required before the appointment. Never blocks booking.

Response

OK

object required

Changes

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