The form object
Collect answers without taking a payment
A form has questions. Each time someone fills it in, a submission is created.
Endpoints
- GETList forms
- POSTCreate form
- GETGet form
- PATCHUpdate form
- DELETEArchive form
- GETList fields for form
- POSTCreate field for form
- GETGet field for form
- PATCHUpdate field for form
- DELETEDelete field for form
Fields
- idstring
Unique identifier. Must be in BSON ObjectId format.
- sellerIdstring
Unique identifier. Must be in BSON ObjectId format.
- typestring
Type of page.
form - name?string, nullable
Internal name of the page.
- slug?string, nullable
URL slug for the page.
- statusstring
Publication status of the page.
publisheddraftarchived - testmodeboolean
Whether the page is in test mode. While it is on, every purchase on this page is a test purchase and its records are created with
livemode: false. - testmodeEnabledAtstring, nullable
When test mode was switched on.
nullwhile the page is not in test mode.date-time
Images displayed on the page.
- locale?string, nullable
Locale the page formats prices and numbers with, for example
en-USorde-DE. - hostedLayoutType?string, nullable
Layout of the hosted page.
centershows the content and the checkout form in one centered card on a page background,doubleshows them side by side in two columns, andsplitdivides the whole page into two halves, the content on one and the checkout form on the other.double_banneris a legacy layout that can't be set through the API.centerdoublesplitdouble_banner - embedLayoutTypestring
Layout of the page when it is embedded in a website.
centershows the content and the form in one column,doubleside by side in two columns (one column when there is too little room). Existing embed codes and pop-up buttons pick it up on their next load.centerdouble - popupLayoutTypestring
Layout of the page when it opens as a pop-up over a website.
centershows the content and the form in one column,doubleside by side in two columns (one column when there is too little room). Existing embed codes and pop-up buttons pick it up on their next load.centerdouble - themeIdstring, nullable
The theme the page uses.
- themeOverrides?ThemeOverrides, nullable
The design and labels the page sets on top of its theme. Properties the page doesn't override are left out and follow the theme. Uses the same shape as the
See all theme settingsthemeOverridesinput. Custom form fields on the page.
How the page's form is arranged, top to bottom: fields, headings, dividers, groups of fields shown side by side in columns, and where the discount code box sits. Always returned, even for a page that was never arranged: every field on the page is listed, and
fieldIdmatches theidof an entry infields. Adiscount-codeitem only places the box, which shows whileshowCouponCodeFieldis on. A placement you saved is returned whether the box is on or off; when none was saved and the box is on, the item is at the end, where the box shows. Forms never have one. Each item is one of:field(fieldId),heading(id,text,levelheadingorsubheading),divider(id),discount-code(no other properties) andgroup(id, optionalname,columns1 to 4, anditemsholding fields, headings, dividers or the discount code; groups never nest). You choose theidof each heading, divider and group: 1 to 64 characters, unique in the layout.formLayouton the page decides the form's order. Each field'sorderis its position among the page's fields and follows the layout: saving a layout (in the dashboard or through the API) rewrites every field'sorder. On a page that has never saved a layout, settingordermoves the field; once a layout is saved, move fields withformLayoutinstead. More item types may be added later. When reading a layout, skip any item type you do not recognise. When updating, send every item back as you received it, including those.- url?string, nullable
Full URL to the hosted page.
- customizeCheckoutConfirmation?boolean, nullable
If set to true
confirmationCheckoutMessageandconfirmationCheckoutTitlewill be displayed on the confirmation page. Defaults tofalse. - closePopupOnClickOutside?boolean, nullable
Whether a popup embed closes when clicking outside the container.
Ordered funnel steps for this page. The response uses the same public structure as the input schema, including
pageIdandredirectPageIdfield names.- visitCount?number, nullable
Number of page visits.
- createdAtstring
When the page was created.
date-time
- updatedAtstring
When the page was last updated.
date-time
If enabled, redirects the customer to the specified URL before the page loads.
- afterPaymentAction?string, nullable
Behavior after checkout.
confirmationcheckoutredirect - redirectPageId?string, nullable
ID of the page to redirect to after payment when afterPaymentAction is checkout.
- redirectUrl?string, nullable
URL to redirect to after submission.
Additional path parameters appended to the redirect URL.
Query parameters for the redirect URL.
- redirectUrlInsideEmbed?boolean, nullable
Redirect within the embed instead of the main browser window.
- confirmationCheckoutTitle?string, nullable
Confirmation page title.
- confirmationCheckoutMessage?string, nullable
Confirmation page message.
- showFilesList?boolean, nullable
Whether the confirmation page lists the purchased files.
- showViewDownloadsButton?boolean, nullable
Whether the confirmation page shows a "View downloads" button.
- sendPaymentNotification?boolean, nullable
Send notification emails to the store owner.
- notifyEmail?string, nullable
Email addresses to send notifications to.
- sendEmailConfirmation?boolean, nullable
Send an email confirmation to the customer.
- customizeEmailConfirmation?boolean, nullable
Use a custom email confirmation template.
- confirmationEmailSubject?string, nullable
Custom confirmation email subject.
- confirmationEmailMessage?string, nullable
Custom confirmation email message.
- confirmationEmailShowLogo?boolean, nullable
Show store logo in confirmation email.
- confirmationEmailShowStoreName?boolean, nullable
Show store name in confirmation email.
- googleIndex?boolean, nullable
Allow Google to index this page.
- trackingCodes?string, nullable
Custom tracking scripts for the page.
- title?string, nullable
Display title shown on the page.
- description?string, nullable
Page description stored as Lexical rich text JSON.
- descriptionHtml?string, nullable
HTML description of the page.
- allowDynamicTitle?boolean, nullable
Whether the title can be set dynamically via URL parameters.
- allowDynamicDescription?boolean, nullable
Whether the description can be set dynamically via URL parameters.
Invoice configuration for manual payment flows.
Downloadable files attached to this form page, available to customers after submission.
- submissionCount?number, nullable
Number of form submissions.
Form behaviour settings.