List forms
GET/v1/forms
Requires an API key with the forms:read scope. About keys and scopes
Works with integration, agent and partner keys.
Returns forms in this workspace, leaving archived ones out unless archived=true. Pass status to list only forms in that state. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null. The cursor is opaque — do not construct or parse one.
Query parameters
limitintegeroptionalHow many items a page holds: 1 to 100, 20 by default.
min > 0 · max 100 · default
20cursorstringoptionalWhere the page starts: the previous page's
meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.1–2,048 characters
querystringoptionalPart of the form's name, ignoring case.
1–200 characters
statusstringoptionalOnly forms in this status.
one of
draft,publishedarchivedstringoptionaltruelists archived forms only; unset orfalseleaves them out.one of
true,false· default"false"
Header parameters
Kirora-WorkspacestringoptionalPartner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern
^[A-Za-z0-9._:-]{1,128}$
Returns
Returns 200 OK with a list of FormListItem objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
publicIdstringrequiredThe id the public embed and hosted page use.
pattern
^[a-z0-9]{24}$slugstring | nullrequiredThe readable part of the form's link;
nullusespublicIdalone.namestringrequiredlocationstringrequiredWhere the form sits on your site, a label you choose (
website-footer,checkout-page). Recorded on each submission, asproperties.locationon itscontact.form_submittedevent and on theform.submittedwebhook, which is how a segment or journey uses it.urlstringrequiredThe hosted form's link, by its
slugwhen it has one, else itspublicId. It serves once the form is published.uri
statusstringrequiredWhether the form accepts submissions:
publishedoncePOST /v1/forms/{id}/publishputs it live,draftuntil then or after unpublishing.one of
draft,publishedlistIdstring | nullrequiredThe list every submitter is added to.
uuid
fieldsobject[]requiredThe fields, top to bottom.
6 child attributes
keystringrequiredWhere the response goes, such as
emailorattributes.plan.typestringrequiredThe input the visitor sees.
one of
email,text,textarea,select,checkbox,date,phonelabelstringrequiredThe text shown beside the field.
placeholderstringoptionalHint text shown inside the empty field.
requiredbooleanrequiredWhether the visitor must fill it in.
optionsobject[]optionalThe choices of a
selectorcheckboxfield.2 child attributes
valuestringrequiredlabelstringrequired
acceptingSubmissionsbooleanrequiredfalse: closed by hand, whatever its closing time and limit.closesAtstring | nullrequiredWhen the form closes, if ever.
date-time
maxSubmissionsinteger | nullrequiredThe submissions it closes at, if any.
submissionCountintegerrequiredSubmissions taken so far (honeypot catches aside), counted for the limit.
min 0
allowedOriginsstring[]requiredSite origins the embed may load from.
doubleOptInbooleanrequiredWhether submitters must confirm by email before they are subscribed.
notifyUserIdsstring[]requiredUsers of this workspace told about each submission.
captchaobject | nullrequiredWhere the CAPTCHA comes from;
nullwhile it is off. Secrets never show.One of 2 shapes
- KiroraCaptchaSetting
1 child attribute
mode"kirora"required
- OwnCaptchaSetting
2 child attributes
mode"own"requiredsiteKeystringrequired
archivedAtstring | nullrequiredWhen it was archived; an archived form is left out of the list and stops serving.
date-time
createdAtstringrequireddate-time
updatedAtstringrequireddate-time