Skip to main content
PUT
Set a form's questions

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Headers

Idempotency-Key
string

Retry-safe key; a repeat of the same request replays the first response

Maximum string length: 255

Path Parameters

id
integer
required

1club form id

Body

application/json
questions
object[]
required

Every question the form should ask, in order.

Maximum array length: 100
removeQuestionIds
integer[]

Existing questions to delete. Every existing question must be either resent by id or listed here (FORM_QUESTION_OMITTED).

Response

The form, with its new questions

A form: a page people fill in, live at publicUrl.

id
integer
slug
string

The last part of publicUrl. Fixed once the form exists.

createsAccount
boolean

true for a sign-up form (registers the person, can sell); false for a fill-in form (collects answers). Fixed once the form exists.

publicUrl
string

The form's permanent address on the public network: there from the moment the form is created, whether or not the organization has a site online, and it never moves. It is live: anyone with the link can use it.

siteUrls
string[]

The same form on each of the organization's online websites and member portal sites, the default first, on its custom domain when it has one. Empty while none is online.

name
string

Internal name, shown to staff in the admin portal.

Maximum string length: 200
title
string | null

Heading at the top of the form. Blank or null falls back to the wizard's own wording.

Maximum string length: 200
subtitle
string | null

Sub-heading under the title. Blank or null falls back to the wizard's own wording.

Maximum string length: 200
planStepTitle
string | null

Heading above the plan picker (sign-up forms). Blank or null falls back to the wizard's own wording.

Maximum string length: 200
classTypeStepTitle
string | null

Heading above the program picker, or the class-type picker on a form that still lists class types (sign-up forms). Blank or null falls back to the wizard's own wording.

Maximum string length: 200
planIds
integer[]

Sign-up forms only. Plans the form sells, from GET /v1/platform/plans. Each must be active, publicly visible and not a season plan (FORM_PLAN_NOT_SELLABLE names each refused id and why). When any are set, the person must choose one to finish.

Maximum array length: 100
programIds
integer[]

Sign-up forms only. Programs offered to a new student, from GET /v1/platform/programs: they pick what they join, their choice is kept on their contact, and they land on the timetable filtered to it. Nothing is booked. Replaces classTypeIds.

Maximum array length: 100
classTypeIds
integer[]

Sign-up forms only, for forms made before programs: class types offered as an interest, from GET /v1/platform/class-types. A form that lists programs offers those instead. Nothing is booked.

Maximum array length: 100
productIds
integer[]

Sign-up forms only. Products the form sells, from GET /v1/platform/products. Each must be active, publicly visible and sold as a product (FORM_PRODUCT_NOT_SELLABLE).

Maximum array length: 100
registrationFor
enum<string>

Who the form registers: the person filling it in, only their children, or both.

Available options:
individual,
child,
both
signatureMethod
enum<string>

How documents are signed: drawn, typed name, or a checkbox.

Available options:
draw,
type,
check
collectsDocuments
boolean

Whether the form asks for the organization's documents and a signature. Which documents is set by the organization's document rules.

requiresAuthentication
boolean

Fill-in forms only: the person must be signed in to fill it in. Refused on a sign-up form (FORM_AUTHENTICATION_FILL_IN_ONLY).

notifyStaff
boolean

Fill-in forms only: admins and managers get a User Form Submitted alert for every response. Left out on create, it is on for a form that puts people in the pipeline and off otherwise. Refused on a sign-up form (FORM_NOTIFY_STAFF_FILL_IN_ONLY), which is announced as a New User Signup instead.

sections
object[]

The form's sections in order, and where each step starts. Each section appears once; the choice comes first when the form sells something (FORM_SECTION_ORDER). giftCard sells the club's gift cards, on a sign-up form only. A section the form does not have (a video with no videoUrl) is ignored, and one it has but the list leaves out goes to its default place. Left out on create, the form gets the default order, each section on a step of its own.

Maximum array length: 6
showTopBar
boolean

Show Back and Close at the top of the form's page.

displayMode
enum<string>

How a link to the form opens: as its own page, or as a dialog over the page it was opened from.

Available options:
page,
dialog
pageLayout
enum<string>

How the form's own page is laid out: summary puts the club's name, photo and the form's subtitle in a card beside the questions, column is one centred column, photo shows the club's photo beside the form as the sign-in page does, simple is the form alone. Defaults to summary. Embedded in another site's page, a form always shows as simple; in a dialog or on a club's tablet it keeps its own frame.

Available options:
summary,
column,
photo,
simple
videoUrl
string | null

A Cloudinary video URL from the media library, shown as a step before review. null removes the video step.

Maximum string length: 500
videoRequired
boolean

The person cannot continue until the video has played to the end. Needs a video (FORM_VIDEO_REQUIRED_WITHOUT_VIDEO).

videoTitle
string | null

Heading above the video. Blank or null falls back to the wizard's own wording.

Maximum string length: 200
finishAction
enum<string>

What the person sees once the form is submitted: thank_you shows the thank-you; link, back, website and portal show it for a moment and then go to finishUrl, the page they came from (else the website), the club's website, or its member area. The default is thank_you.

Available options:
thank_you,
link,
back,
website,
portal
finishTitle
string | null

Heading of the thank-you. Blank or null falls back to the wizard's own wording.

Maximum string length: 200
finishMessage
string | null

The line under the thank-you heading. null shows the default.

Maximum string length: 1000
finishUrl
string | null

The full https address a link Finish goes to (INVALID_FORM_FINISH_URL). Needed when finishAction is link (FORM_FINISH_LINK_REQUIRED).

Maximum string length: 500
fieldOverrides
object | null

Which built-in contact fields the form asks: required asks it, hidden does not. A form cannot ask one optionally. A sign-up form always asks what the organization requires at sign-up (Settings → Contacts) and these add to it; it cannot ask the address (FORM_FIELD_ADDRESS_FILL_IN_ONLY). address asks the whole postal address. On update the map is merged: the fields you send change and the rest stay as they are, so send hidden to stop asking one. null clears every override.

translations
object | null

Per-locale wording, as { "es": { "title": "..." } }. Replaces the whole map. Translatable fields: title, subtitle, planStepTitle, classTypeStepTitle, videoTitle, finishTitle, finishMessage; any other key is refused (INVALID_TRANSLATIONS).

packageIds
integer[]

Read-only here: packages are added in the admin portal.

submissionCount
integer

How many people have completed it. The answers are not served by this API.

createdAt
string<date-time>
updatedAt
string<date-time>
questions
object[]

In order. On a single-form read and on every write; not in the list.