Skip to main content
POST
Create form

Authorizations

Authorization
string
header
required

An API key, starting ak_. Create one under Settings > MCP and API in Steerco.

Headers

X-Workspace-Id
string
required

The workspace id. GET /v1/workspaces lists yours.

Body

application/json
name
string

What the form is called, such as "Book a call".

Required string length: 1 - 120
questions
object[]

The questions everyone answers, in order, less the qualifying ones. Each takes a snake_case key that never changes, such as "work_email". One must be an email question, and it is always required. Ask for the person's name with a name question, or firstName and lastName, for their company's name with company, and for its website with website, each at most once. When a Short text question already asks for a name, company name or website, change its type instead of adding another. On a create, absent asks firstName, lastName and work email questions, and "What do you need help with?" when everyone books.

Required array length: 1 - 50 elements
qualify
object[]

The questions that decide who books, each with the answer that lets a person book. A person books only when every answer fits. Empty lets everyone book.

Maximum array length: 10
calendarId
string

The booking calendar a person who may book goes to, from list_booking_calendars.

Minimum string length: 1
unqualified
object

Where a person who does not qualify goes: {"kind": "message", "message": "..."} or {"kind": "redirect", "url": "https://..."}. Add "thenSequenceId", a sequence id from list_sequences, to start a sequence for them. Read only with qualify. On a create, absent shows "Thanks for your interest. We'll be in touch."

thankYou
string

The thank-you message a person reads once they send a form with no calendar, such as "Thanks, we will be in touch." On a qualifying form, only the people who qualify read it. A form with a calendar sends them to book instead, and takes none. On an edit, "" puts the default back.

Maximum string length: 400
followUp
boolean

Whether a person the form sends to book, who then doesn't book, gets "Form: didn't book". It needs a calendar. On a create, absent turns it on when you pass calendarId.

submitLabel
string

The words on the submit button, such as "Get my demo". Absent keeps the default, which names the next step when everyone books. On an edit, "" puts the default back.

Maximum string length: 60
layout
enum<string>

"page" asks every question at once, and "steps" asks one step at a time, with the contact questions last.

Available options:
page,
steps
skipRest
boolean

On a steps form, whether a person certain to qualify skips to the contact questions.

otherwiseSkipRest
boolean

On a steps form, whether a person certain not to qualify skips to the contact questions.

Response

A preview, when the body has no confirmationToken. The applied write, when it has one.

status
enum<string>
required
Available options:
preview
confirmationToken
string
required

Send this back with the same input to apply the write. It works for this call only.

expiresAt
string
required

When the token stops working, 10 minutes after the preview.

preview
any

What the write would change. Nothing has changed yet.