Skip to content
Preview. The endpoints on this page are illustrative and are likely to change as they move toward general availability. Documentation is published in advance so you can start shaping your integration; treat request and response details as subject to revision.

Forms and survey questions ​

A Smart Schedule's definition includes two separate question collections:

CollectionPurposeUsed by
matchingFormDrives host routing — answers determine which hosts are eligible/availability (required), /scheduled-meetings (required, echoed)
surveyQuestionsInformational pre-booking questions/scheduled-meetings (optional)

Both are captured on the schedule definition and submitted with answers at booking time. Only the matching form influences which host is offered.


MatchingForm ​

The intake form whose responses drive routing. Submit answers as formValues on /availability and /scheduled-meetings.

The MatchingForm schema ​

Fields ​

fields list ​

The form's questions, in display order. Each is a MatchingFormField.


json
{
  "fields": [
    {
      "key": "fld_cmVnaW9u",
      "label": "Region",
      "type": "select",
      "options": [
        { "value": "opt_TkEtRWFzdA", "label": "NA-East" },
        { "value": "opt_TkEtV2VzdA", "label": "NA-West" },
        { "value": "opt_RU1FQQ", "label": "EMEA" }
      ],
      "required": true
    }
  ]
}

MatchingFormField ​

A single question on the matching form.

Fields ​

AttributeTypeDescription
keystringStable, opaque identifier for this question, prefixed fld_. Use it as the key when submitting answers on formValues.
labelstringThe question text to display to the end-user.
typestringThe field's shape. Currently select or multi-select; treat the list as open (text, long-text, email, phone, number and date may also appear) and handle an unknown type gracefully.
optionslistAlways present. The allowed answers, each { value, label }: submit the value (prefixed opt_) and display the label. Empty for free-text types.
requiredbooleanWhether an answer must be provided.

Submitting form values ​

formValues on /availability and /scheduled-meetings is a map keyed by MatchingFormField.key (fld_…), with the chosen option's value (opt_…). Never send labels — they are display text and are rejected.

Single-value fields ​

A select field takes exactly one value. Sending an array is rejected, even with one element.

Multi-select fields ​

For a multi-select field, pass an array of the selected option values. A single value on its own is also accepted, and duplicates are ignored.

All values must be strings.

Validation ​

  • /availability checks answers against the form: unknown keys, unknown values, missing required answers, and lists on single-select fields return 422 form-validation, with a fieldErrors[] array of { key, message }. Missing required answers are allowed when the request sends hosts.
  • /scheduled-meetings runs the same checks, reporting failures as 422 booking-validation-failed on keys of the form formValues.<fld_…>. It also compares the answers with the ones the slot was offered against: a difference returns 422 form-values-mismatch.

Unknown keys are rejected.


json
{
  "formValues": {
    "fld_cmVnaW9u": "opt_TkEtRWFzdA",
    "fld_c2l6ZQ": "opt_NTEtMjAw"
  }
}
json
{
  "formValues": {
    "fld_dG9waWNz": ["opt_T25ib2FyZGluZw", "opt_TWlncmF0aW9u"]
  }
}

SurveyQuestions ​

Questions asked before booking. Not used for routing. Answers are stored on the meeting and appear in the confirmation email, the calendar event, and the booking webhook.

The SurveyQuestions schema ​

Returned as a flat list on the schedule:

Fields ​

AttributeTypeDescription
keystringIdentifier used when submitting the answer on /scheduled-meetings.
labelstringThe question text to display.
typestringAlways long-text — survey questions take free-text answers.
requiredbooleanWhether an answer must be provided to complete booking.

Survey questions are keyed by text

The key is derived from the question text: lowercased, with each run of characters other than letters and digits replaced by a single - (so "What brings you here today?" becomes what-brings-you-here-today).

  • Renaming a question changes its key, and bookings that send the old key fail with 422. Read the keys from the schedule instead of hardcoding them.
  • Reordering questions does not change their keys.
  • Two questions with the same wording share one key.

json
{
  "surveyQuestions": [
    {
      "key": "what-brings-you-here-today",
      "label": "What brings you here today?",
      "type": "long-text",
      "required": false
    },
    {
      "key": "how-did-you-hear-about-us",
      "label": "How did you hear about us?",
      "type": "long-text",
      "required": false
    }
  ]
}

Submitting survey answers ​

surveyResponses on /scheduled-meetings is a map keyed by the survey question's key, not an array:

Use the key exactly as the schedule returns it — sending the question text itself is rejected as an unknown key.

Unknown keys are rejected with 422 booking-validation-failed. Required questions that receive no answer, or only whitespace, are also rejected, reported once per missing question in the response's fieldErrors[] array.

json
{
  "surveyResponses": {
    "what-brings-you-here-today": "Pipeline visibility",
    "how-did-you-hear-about-us": "Referral from a colleague"
  }
}

Raleigh, NC — a Cirruspath, Inc. company