Formularët
Çdo veprim në këtë grup: çfarë pranon, çfarë kthen dhe gabimet me të cilat mund të përgjigjet.
Veprimet
Sign-up forms that add the people who fill them in to your audiences. A form has a draft document you edit and a published copy visitors see, so design changes go live only when you publish, while settings apply as soon as they are saved. Share a form by its hosted url, embed it with one script tag, or post to its subscribeUrl from your own HTML or code.
With double opt-in on, each person gets a confirmation email from the form's sending address and joins once they confirm or you approve them. Submissions keep every answer, and a person who joins becomes a contact in the workspace.
/forms/forms/forms/starters/forms/starters/{slug}/forms/{id}/forms/{id}/forms/{id}/forms/{id}/publish/forms/{id}/pause/forms/{id}/resume/forms/{id}/duplicate/forms/{id}/analytics/forms/{id}/submissions/forms/{id}/submissions/batch-remove/forms/{id}/submissions/{submissionId}/forms/{id}/submissions/{submissionId}/forms/{id}/submissions/{submissionId}/approve/forms/{id}/submissions/{submissionId}/resend/subscribe/{formId}/forms/design/forms/{id}/redesign
GET/forms
List forms
Every sign-up form in the workspace, newest first, without the document or settings. stats is counted at the moment of the read.
An app a member connected lists only the forms that member made, as the console does for them.
Requires the forms:read scope.
Parametrat e pyetjes
limitintegerRows per page, 1 to 100.
Të paktën 1Më së shumti 100Parazgjedhja25cursorstringThe previous page's
nextCursor, passed back as it came. It is opaque: it holds where the last row sat in this list's order, so a row deleted or edited between pages never breaks the walk, and the next page starts at the first row that sorts after it. A value this list did not hand out is a 400invalid_cursor.
Kthen
A page of forms.
Gabimet
Gabimet që mund të kthejë çdo veprim400401403404422500Katalogu i gabimeve
E disponueshme edhe në
POST/forms
Create a form
Makes a draft from document, from a starter, or from a one-field email form when neither is sent, and answers with the whole form. Send publish: true to put it live in the same call.
Every audience in settings.audienceIds and in an audience field has to be one the caller can reach in this workspace. settings.senderAddress has to be an address the caller may send as, and a key limited to some addresses may only name ones it holds there and in settings.notifyAddresses. A call that turns on settings.doubleOptIn, names a settings.senderAddress or changes the confirmation email also needs emails:send, because the form then sends mail for you.
Share it with url, post plain HTML forms to subscribeUrl, or embed it with the script /embed/form.js served from the web app's domain.
Requires the forms:write scope.
Trupi i kërkesës
namestringE detyrueshmeWhat the workspace calls the form, trimmed, 1 to 120 characters. Visitors never see it, and it need not be unique.
Nga 1 deri në 120 karakteredescriptionstringA note for the workspace, at most 500 characters. Visitors never see it.
Mund të jetë nullDeri në 500 karakterestarterstringBegin from a starter's fields, copy and style. Ignored when
documentis sent.Një nga"blank""newsletter""waitlist""event""early-access""contact"documentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.fieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
settingsobjectAny subset of the settings. An omitted field keeps its value.
audienceIdsstring[]- Deri në 20 elemente
doubleOptInbooleansenderAddressstring- Mund të jetë nullDeri në 2000 karaktere
confirmSubjectstring- Nga 1 deri në 200 karaktere
confirmMessagestring- Deri në 2000 karaktere
confirmButtonstring- Nga 1 deri në 60 karaktere
successActionstring- Një nga
"message""redirect" redirectUrlstring- Mund të jetë nullDeri në 2000 karaktereFormati
uri notifyAddressesstring[]- Deri në 10 elemente
publishbooleanPublish in the same call, so the form takes sign-ups at once. Nothing is created when the form could not be published.
Kthen
Created.
Gabimet
- 404
audience_not_foundonsettings.audienceIds.- 422
invalid_parameterfor an unknownstarteror a value of the wrong shape,unknown_parameterfor a key the body does not take,invalid_formwhen the document or settings break a rule together,form_sender_refusedwhen confirmations cannot go out fromsettings.senderAddress,capability_unsupportedfor an address outside a limited key, orworkspace_limit_reachedwhen the workspace holds the most forms it may.
Gabimet që mund të kthejë çdo veprim400401403500Katalogu i gabimeve
E disponueshme edhe në
GET/forms/starters
List the form starters
The starting points the console offers when somebody makes a form. Not paginated and not workspace data. The slug is what POST /forms takes as starter.
Requires the forms:read scope.
Kthen
Every starter, documents left out.
Gabimet
Gabimet që mund të kthejë çdo veprim400401403404422500Katalogu i gabimeve
E disponueshme edhe në
GET/forms/starters/{slug}
Retrieve a form starter
Adds the starter document, so a client can change it before creating a form from it.
Requires the forms:read scope.
Parametrat e shtegut
slugstringE detyrueshmeA slug from
GET /forms/starters.Një nga"blank""newsletter""waitlist""event""early-access""contact"
Kthen
The starter with its document.
Gabimet
- 404
form_starter_not_foundwhen no starter has that slug.
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
GET/forms/{id}
Retrieve a form
The whole form: the draft document, the publishedDocument visitors see, settings, the named audiences and fresh stats. A form in another workspace is a 404, never a 403.
Requires the forms:read scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Kthen
The form.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
PATCH/forms/{id}
Update a form
A partial update. document replaces the draft whole and a live form keeps showing its published copy until POST /forms/{id}/publish. settings is merged field by field and takes effect at once. A call that turns on settings.doubleOptIn, names a settings.senderAddress or changes the confirmation email also needs emails:send, because the form then sends mail for you.
Read the form, change it and send expectedUpdatedAt with the updatedAt you read: if someone saved the form in between, your change is refused rather than written over theirs.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Trupi i kërkesës
namestringNew name, trimmed, 1 to 120 characters.
Nga 1 deri në 120 karakteredescriptionstringNew note, at most 500 characters. Null clears it.
Mund të jetë nullDeri në 500 karakteredocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.fieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
settingsobjectAny subset of the settings. An omitted field keeps its value.
audienceIdsstring[]- Deri në 20 elemente
doubleOptInbooleansenderAddressstring- Mund të jetë nullDeri në 2000 karaktere
confirmSubjectstring- Nga 1 deri në 200 karaktere
confirmMessagestring- Deri në 2000 karaktere
confirmButtonstring- Nga 1 deri në 60 karaktere
successActionstring- Një nga
"message""redirect" redirectUrlstring- Mund të jetë nullDeri në 2000 karaktereFormati
uri notifyAddressesstring[]- Deri në 10 elemente
expectedUpdatedAtstringThe
updatedAtyou read. When the form was saved since, nothing is written and the answer is 409version_conflict.Formatidate-time
Kthen
Saved.
Gabimet
- 404
form_not_found, oraudience_not_foundonsettings.audienceIds.- 409
version_conflict: the form was saved afterexpectedUpdatedAt. Nothing was written.- 422
invalid_parameterfor a value of the wrong shape,unknown_parameterfor a key the body does not take,invalid_formwhen the document or settings break a rule together,form_sender_refusedorcapability_unsupported, each withparamnaming the field.
Gabimet që mund të kthejë çdo veprim400401403500Katalogu i gabimeve
E disponueshme edhe në
DELETE/forms/{id}
Delete a form
Deletes the form and every submission it holds. Its hosted page and embed stop working at once. The people it added stay in your contacts and audiences.
There is no undo.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Kthen
Deleted.
Gabimet
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.- 404
form_not_foundwhen the id names no form you can reach.
Gabimet që mund të kthejë çdo veprim400401422500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/publish
Publish a form
Copies the draft document to publishedDocument and sets the form live, so the hosted page, the embed and the subscribe endpoint show and take the new version. Publishing a paused form opens it again. No body.
A double opt-in form also needs a senderAddress that can send confirmations, and the caller needs emails:send.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Kthen
Published.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.- 422
invalid_formorform_sender_refused, withparamnaming the field, orcapability_unsupportedwhen the key or app is limited to some addresses and the form'ssettings.senderAddressorsettings.notifyAddressesfalls outside them.
Gabimet që mund të kthejë çdo veprim400401403500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/pause
Pause a form
Stops a published form taking sign-ups. Its page stays up and shows the closed message from its copy, and a JSON post to its subscribe endpoint answers 409 form_closed while a plain HTML form goes to the hosted page. Pausing a paused form changes nothing. No body.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Kthen
Paused.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.- 409
form_not_published: a form that was never published cannot be paused.
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/resume
Resume a form
Opens a paused form again, with the version that was published last. Resuming a live form changes nothing. No body.
Resuming a double opt-in form also needs emails:send.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Kthen
Live.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.- 409
form_not_published: publish the form first.- 422
form_sender_refusedwhen a double opt-in form can no longer send confirmations,invalid_formwhen the published form breaks a rule, orcapability_unsupportedwhen the key or app is limited to some addresses and the form'ssettings.senderAddressorsettings.notifyAddressesfalls outside them.
Gabimet që mund të kthejë çdo veprim400401403500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/duplicate
Duplicate a form
Makes a new draft with the same document and settings and "copy" after the name. Submissions and statistics are not copied. No body.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Kthen
The copy.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.- 422
workspace_limit_reachedwhen the workspace holds the most forms it may, orcapability_unsupportedwhen the key or app is limited to some addresses and the form'ssettings.senderAddressorsettings.notifyAddressesfalls outside them.
Gabimet që mund të kthejë çdo veprim400401403500Katalogu i gabimeve
E disponueshme edhe në
GET/forms/{id}/analytics
Form analytics
Views, submissions and people added over a window, in buckets, with totals and the conversion rate. A view is one load of the hosted page or the embed while the form is live, and views are not deduplicated by visitor.
Requires the forms:read scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Parametrat e pyetjes
daysintegerHow far back to look. The oldest bucket is a whole one and the newest is partial.
Të paktën 1Më së shumti 1095Parazgjedhja30minutesintegerThe window in minutes, which wins over
dayswhen both are sent.Të paktën 1Më së shumti 1576800grainstringHow wide one bucket is. Views are kept per hour.
Një nga"minute""hour""day"Parazgjedhja"day"offsetMinutesintegerMinutes east of UTC to cut the buckets in, so a day breaks where the reader's day does.
Të paktën -840Më së shumti 840Parazgjedhja0
Kthen
The window, the totals and the series.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
GET/forms/{id}/submissions
List submissions
Newest first. Each row keeps the answers as they were sent, labels included, so it still reads right after the form changes.
Requires the forms:read scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Parametrat e pyetjes
limitintegerRows per page, 1 to 100.
Të paktën 1Më së shumti 100Parazgjedhja25cursorstringA submission id of this form. Keyset, not offset: pass the previous page's
nextCursor. One that names nothing in this list is a 400invalid_cursor.qstringOnly submissions whose email address contains this text, ignoring case.
Deri në 200 karakterestatusstringOnly
pendingor onlyaddedsubmissions.Një nga"pending""added"
Kthen
A page of submissions.
Gabimet
- 400
invalid_cursorwhen the cursor names no submission of this form.- 404
form_not_foundwhen the id names no form you can reach.
Gabimet që mund të kthejë çdo veprim401403422500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/submissions/batch-remove
Delete submissions
Deletes up to 200 submissions of this form in one call and answers with how many went. A person a submission added stays in your contacts and audiences. A pending one can no longer be confirmed.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.
Trupi i kërkesës
idsstring[]E detyrueshmeSubmission ids of this form. An id that names nothing is skipped.
Nga 1 deri në 200 elemente
Kthen
Deleted.
Gabimet
- 404
form_not_foundwhen the id names no form you can reach.
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
GET/forms/{id}/submissions/{submissionId}
Retrieve a submission
One submission with every answer.
Requires the forms:read scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.submissionIdstringE detyrueshmeThe submission id,
fsb_plus 24 hex.
Kthen
The submission.
Gabimet
- 404
form_not_found, orform_submission_not_foundwhen the form has no such submission.
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
DELETE/forms/{id}/submissions/{submissionId}
Delete a submission
Deletes the submission. The person it added stays in your contacts and audiences, and a pending one can no longer be confirmed.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.submissionIdstringE detyrueshmeThe submission id,
fsb_plus 24 hex.
Kthen
Deleted.
Gabimet
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/submissions/{submissionId}/approve
Approve a submission
Adds the person of a pending submission to its audiences without waiting for them to confirm, for when you know them. It does not resubscribe someone who unsubscribed from an audience, as their own confirmation would. An added submission is returned as it is. No body.
Requires the forms:write and contacts:write scopes.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.submissionIdstringE detyrueshmeThe submission id,
fsb_plus 24 hex.
Kthen
The submission, now added.
Gabimet
Gabimet që mund të kthejë çdo veprim400401403422500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/submissions/{submissionId}/resend
Resend a confirmation
Emails a pending submission a fresh confirmation link from the form's senderAddress. To protect the person, one address gets at most one confirmation per form every ten minutes and five a day across the workspace. A call that runs into those limits, or one for an added submission, sends nothing and answers confirmationSent: false. No body.
Requires the forms:write and emails:send scopes.
Parametrat e shtegut
idstringE detyrueshmeThe form id,
frm_plus 24 hex.submissionIdstringE detyrueshmeThe submission id,
fsb_plus 24 hex.
Kthen
The submission.
objectstring- Një nga
"form_submission" idstringThe durable handle,
fsb_plus 24 hex.formIdstringemailstringThe address the person signed up with, lower cased.
statusstringaddedonce the person is a contact in the audiences.pendingwhile a double opt-in form waits for them to confirm.Një nga"pending""added"expiredbooleanTrue for a
pendingsubmission whose confirmation link has run out. Approve it, or send a fresh link.answersFormAnswer[]A snapshot of every answer, kept as it was even after the form changes.
audienceIdsstring[]sourceUrlstringThe page the form was filled in on, its origin and path only and at most 500 characters, when it was known.
Mund të jetë nullconfirmedAtstringWhen the person joined the audiences. Null while pending.
Mund të jetë nullFormatidate-timecreatedAtstring- Formati
date-time confirmationSentbooleanWhether an email went out on this call.
Gabimet
- 422
form_sender_refusedwhen confirmations cannot go out from the form's address.
Gabimet që mund të kthejë çdo veprim400401403500Katalogu i gabimeve
E disponueshme edhe në
POST/subscribe/{formId}
Sign up through a form
Takes no credential: this is where a published form's visitors post. A browser <form method="post"> sends its fields form encoded and is redirected with a 303 to the form's thank-you page or to its redirect. A script that sends Accept: application/json or a JSON body gets JSON answers and the error codes below instead. Cross-origin requests are allowed.
On a double opt-in form the person is emailed a confirmation link and joins the audiences once they open it, so outcome is pending. Signing up again before confirming updates that pending submission rather than storing another. Otherwise they join at once and outcome is added.
A person who unsubscribed from an audience stays unsubscribed unless they confirm through a double opt-in form. Sign-ups are limited to 40 every 10 minutes from one network, and a submission that looks automated gets a normal answer and is dropped.
Parametrat e shtegut
formIdstringE detyrueshmeThe id of a published form.
Trupi i kërkesës
Lloji i përmbajtjesapplication/json, application/x-www-form-urlencoded, multipart/form-data
emailstringThe field keyed
email, which every form has.valuesobjectThe answers again, for a client that would rather nest them.
oe_sourcestringThe page the form was filled in on. Defaults to the
Refererheader.
Kthen
Signed up, for a JSON caller.
Signed up or refused, for a browser form: follow the Location header.
Gabimet
- 400
malformed_jsonwhen a JSON body does not parse or is not an object.- 404
form_not_foundwhen no published form has that id.- 409
form_closedwhen the form is paused.- 422
invalid_form_submissionwhen an answer is missing or not valid. The error carriesfields, one entry per problem with the fieldkeyand the reason.- 429
form_rate_limitedwhen too many sign-ups came from the same network.
Gabimet që mund të kthejë çdo veprim500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/design
Design a form from a brief
A designer builds a new sign-up form from a written brief, as Create with AI does on the Forms page of the app: it picks the fields, writes the copy and sets the look, then saves the form as a draft. Publish it with POST /forms/{id}/publish. It spends one AI action and can take up to half a minute.
Requires the forms:write scope.
Trupi i kërkesës
briefstringE detyrueshmeEverything the form must ask and say, up to 4,000 characters.
Nga 1 deri në 4000 karakterenamestringA short name for the form, up to 120 characters. Left out, the designer names it.
Nga 1 deri në 120 karaktere
Kthen
The new form, a draft.
objectstring- Një nga
"form" idstringThe durable handle,
frm_plus 24 hex.namestringWhat the workspace calls the form. Visitors never see it.
descriptionstring- Mund të jetë null
statusstringdraftuntil the first publish, thenlivewhile it takes sign-ups andpausedwhile it does not. A form never goes back todraft.Një nga"draft""live""paused"urlstringThe hosted page that shows the published form. Share it as a link, or add
?embed=1for the frame the embed script loads.subscribeUrlstringWhere a plain HTML
<form method="post">sends its fields, and where a script posts JSON for a JSON answer.audienceIdsstring[]The audiences every sign-up joins, besides the default audience that holds every contact. An audiences field adds the ones the person ticks.
doubleOptInbooleanWhether a sign-up waits for the person to confirm their address by email.
hasUnpublishedChangesbooleanTrue when the draft
documentdiffers from what the live form shows. Always false before the first publish.statsFormStatspublishedAtstring- Mund të jetë nullFormati
date-time createdAtstring- Formati
date-time updatedAtstringSend it back as
expectedUpdatedAtonPATCH /forms/{id}to refuse a save that would overwrite someone else's.Formatidate-timedocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.fieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
publishedDocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.Mund të jetë nullfieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
settingsobjectWhere sign-ups go and what happens after one.
audienceIdsstring[]E detyrueshme- Deri në 20 elemente
doubleOptInbooleanE detyrueshmesenderAddressstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
confirmSubjectstringE detyrueshme- Nga 1 deri në 200 karaktere
confirmMessagestringE detyrueshme- Deri në 2000 karaktere
confirmButtonstringE detyrueshme- Nga 1 deri në 60 karaktere
successActionstringE detyrueshme- Një nga
"message""redirect" redirectUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri notifyAddressesstring[]E detyrueshme- Deri në 10 elemente
audiencesFormAudience[]The audiences in
audienceIdswith their names.senderIssuestringWhy confirmation emails cannot go out right now, for a form with
doubleOptInon.missingmeans nosenderAddressis set,not_sendablethat the address cannot send,not_allowedthat the form's maker may not send as it. Null when they can go out, and always null withdoubleOptInoff.Mund të jetë nullNjë nga"missing""not_sendable""not_allowed"senderProblemstringThe same problem in a sentence, or null.
Mund të jetë nulldesignobjectnotesstring[]What the designer adjusted or left out while making the design valid.
Gabimet
- 409
ai_not_configured: this server has no model to design with.version_conflict: the form was saved sinceexpectedUpdatedAt, or while the designer worked, and nothing was written.- 422
invalid_formwhen the designer could not make a valid form, so nothing was created or changed.workspace_limit_reachedwhen the workspace already holds as many forms as it may.invalid_parameterfor a body that does not validate.- 429
ai_quota_exceeded: the workspace has used its AI actions for today.
Gabimet që mund të kthejë çdo veprim400401403404500Katalogu i gabimeve
E disponueshme edhe në
POST/forms/{id}/redesign
Change a form’s design from instructions
A designer applies written instructions to the draft of the form and leaves the rest alone, as Ask AI does in the form builder of the app: add, remove or reorder fields, rewrite or translate the copy, change colours or fonts. The change is saved to the draft, and a live form keeps showing its published version until POST /forms/{id}/publish. It spends one AI action and can take up to half a minute.
Requires the forms:write scope.
Parametrat e shtegut
idstringE detyrueshmeForm id such as
frm_8d2f6a1c9b3e47d0a5f1c2e9.
Trupi i kërkesës
instructionsstringE detyrueshmeWhat to change, with every detail, up to 4,000 characters.
Nga 1 deri në 4000 karaktereexpectedUpdatedAtstringThe
updatedAtyou read, as it came. When the form was saved since, nothing is written and the answer is 409version_conflict.Formatidate-time
Kthen
The form, with the change in its draft.
objectstring- Një nga
"form" idstringThe durable handle,
frm_plus 24 hex.namestringWhat the workspace calls the form. Visitors never see it.
descriptionstring- Mund të jetë null
statusstringdraftuntil the first publish, thenlivewhile it takes sign-ups andpausedwhile it does not. A form never goes back todraft.Një nga"draft""live""paused"urlstringThe hosted page that shows the published form. Share it as a link, or add
?embed=1for the frame the embed script loads.subscribeUrlstringWhere a plain HTML
<form method="post">sends its fields, and where a script posts JSON for a JSON answer.audienceIdsstring[]The audiences every sign-up joins, besides the default audience that holds every contact. An audiences field adds the ones the person ticks.
doubleOptInbooleanWhether a sign-up waits for the person to confirm their address by email.
hasUnpublishedChangesbooleanTrue when the draft
documentdiffers from what the live form shows. Always false before the first publish.statsFormStatspublishedAtstring- Mund të jetë nullFormati
date-time createdAtstring- Formati
date-time updatedAtstringSend it back as
expectedUpdatedAtonPATCH /forms/{id}to refuse a save that would overwrite someone else's.Formatidate-timedocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.fieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
publishedDocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.Mund të jetë nullfieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
settingsobjectWhere sign-ups go and what happens after one.
audienceIdsstring[]E detyrueshme- Deri në 20 elemente
doubleOptInbooleanE detyrueshmesenderAddressstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
confirmSubjectstringE detyrueshme- Nga 1 deri në 200 karaktere
confirmMessagestringE detyrueshme- Deri në 2000 karaktere
confirmButtonstringE detyrueshme- Nga 1 deri në 60 karaktere
successActionstringE detyrueshme- Një nga
"message""redirect" redirectUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri notifyAddressesstring[]E detyrueshme- Deri në 10 elemente
audiencesFormAudience[]The audiences in
audienceIdswith their names.senderIssuestringWhy confirmation emails cannot go out right now, for a form with
doubleOptInon.missingmeans nosenderAddressis set,not_sendablethat the address cannot send,not_allowedthat the form's maker may not send as it. Null when they can go out, and always null withdoubleOptInoff.Mund të jetë nullNjë nga"missing""not_sendable""not_allowed"senderProblemstringThe same problem in a sentence, or null.
Mund të jetë nulldesignobjectnotesstring[]What the designer adjusted or left out while making the design valid.
Gabimet
- 409
ai_not_configured: this server has no model to design with.version_conflict: the form was saved sinceexpectedUpdatedAt, or while the designer worked, and nothing was written.- 422
invalid_formwhen the designer could not make a valid form, so nothing was created or changed.workspace_limit_reachedwhen the workspace already holds as many forms as it may.invalid_parameterfor a body that does not validate.- 429
ai_quota_exceeded: the workspace has used its AI actions for today.
Gabimet që mund të kthejë çdo veprim400401403404500Katalogu i gabimeve
E disponueshme edhe në
Objektet
DeletedFormobject
objectstring- Një nga
"form" idstringdeletedboolean- Një nga
true
DeletedFormSubmissionobject
objectstring- Një nga
"form_submission" idstringformIdstringdeletedboolean- Një nga
true
Formobject
objectstring- Një nga
"form" idstringThe durable handle,
frm_plus 24 hex.namestringWhat the workspace calls the form. Visitors never see it.
descriptionstring- Mund të jetë null
statusstringdraftuntil the first publish, thenlivewhile it takes sign-ups andpausedwhile it does not. A form never goes back todraft.Një nga"draft""live""paused"urlstringThe hosted page that shows the published form. Share it as a link, or add
?embed=1for the frame the embed script loads.subscribeUrlstringWhere a plain HTML
<form method="post">sends its fields, and where a script posts JSON for a JSON answer.audienceIdsstring[]The audiences every sign-up joins, besides the default audience that holds every contact. An audiences field adds the ones the person ticks.
doubleOptInbooleanWhether a sign-up waits for the person to confirm their address by email.
hasUnpublishedChangesbooleanTrue when the draft
documentdiffers from what the live form shows. Always false before the first publish.statsFormStatspublishedAtstring- Mund të jetë nullFormati
date-time createdAtstring- Formati
date-time updatedAtstringSend it back as
expectedUpdatedAtonPATCH /forms/{id}to refuse a save that would overwrite someone else's.Formatidate-timedocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.fieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
publishedDocumentobjectEverything a visitor sees:
fieldsin order, thecopyaround them and thestyle. Every form has exactly oneemailfield, and every input field has a uniquekeythat answers are posted under.Mund të jetë nullfieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
settingsobjectWhere sign-ups go and what happens after one.
audienceIdsstring[]E detyrueshme- Deri në 20 elemente
doubleOptInbooleanE detyrueshmesenderAddressstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
confirmSubjectstringE detyrueshme- Nga 1 deri në 200 karaktere
confirmMessagestringE detyrueshme- Deri në 2000 karaktere
confirmButtonstringE detyrueshme- Nga 1 deri në 60 karaktere
successActionstringE detyrueshme- Një nga
"message""redirect" redirectUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri notifyAddressesstring[]E detyrueshme- Deri në 10 elemente
audiencesFormAudience[]The audiences in
audienceIdswith their names.senderIssuestringWhy confirmation emails cannot go out right now, for a form with
doubleOptInon.missingmeans nosenderAddressis set,not_sendablethat the address cannot send,not_allowedthat the form's maker may not send as it. Null when they can go out, and always null withdoubleOptInoff.Mund të jetë nullNjë nga"missing""not_sendable""not_allowed"senderProblemstringThe same problem in a sentence, or null.
Mund të jetë null
FormAnalyticsobject
objectstring- Një nga
"form_analytics" formIdstringsincestring- Formati
date-time untilstring- Formati
date-time grainstring- Një nga
"minute""hour""day" offsetMinutesintegertotalsobjectviewsintegerTimes the hosted page or the embed was opened while the form was live.
submissionsintegerEvery submission stored, waiting or added.
addedintegerSubmissions whose person is in the audiences.
pendingintegerSubmissions still waiting for the person to confirm their address.
lastSubmittedAtstring- Mund të jetë nullFormati
date-time conversionnumberSubmissions divided by views over the window, at most 1. Null with no views.
Mund të jetë null
seriesFormAnalyticsPoint[]Sparse: a bucket with nothing in it is left out.
FormAnalyticsPointobject
bucketstringYYYY-MM-DDfor a day,YYYY-MM-DDTHHfor an hour,YYYY-MM-DDTHH:MMfor a minute.viewsintegersubmissionsintegeraddedintegerPeople who joined the audiences in the bucket, dated when they confirmed.
FormAnswerobject
fieldIdstringkeystringThe field key the value was posted under.
labelstringThe field label when the person signed up.
typestring- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" valuestring | string[] | booleanText for most fields, a list for multiple choice, true or false for a checkbox.
displaystringThe value as a person reads it, option labels included.
FormAudienceobject
idstringnamestringbuiltinbooleanTrue for the default audience every contact joins.
FormDocumentobject
Everything a visitor sees: fields in order, the copy around them and the style. Every form has exactly one email field, and every input field has a unique key that answers are posted under.
fieldsobject[]E detyrueshme- Nga 1 deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
typestringE detyrueshme- Një nga
"email""text""textarea""number""phone""url""date""select""radio""checkboxes""checkbox""consent""audiences""hidden""heading""paragraph""divider" keystringE detyrueshme- Deri në 40 karaktereModeli
^[a-z][a-z0-9_]{0,39}$ labelstringE detyrueshme- Deri në 300 karaktere
placeholderstringE detyrueshme- Mund të jetë nullDeri në 200 karaktere
helpstringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
requiredbooleanE detyrueshmedefaultValuestringE detyrueshme- Mund të jetë nullDeri në 1000 karaktere
optionsobject[]E detyrueshme- Deri në 50 elemente
idstringE detyrueshme- Nga 1 deri në 64 karaktere
labelstringE detyrueshme- Nga 1 deri në 300 karaktere
valuestringE detyrueshme- Nga 1 deri në 1000 karaktere
mapsTostringE detyrueshme- Mund të jetë nullNjë nga
"email""firstName""lastName""name" widthstringE detyrueshme- Një nga
"full""half" minLengthintegerE detyrueshme- Mund të jetë nullTë paktën 0Më së shumti 5000
maxLengthintegerE detyrueshme- Mund të jetë nullTë paktën 1Më së shumti 5000
minnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
maxnumberE detyrueshme- Mund të jetë nullTë paktën -1000000000000Më së shumti 1000000000000
copyobjectE detyrueshmetitlestringE detyrueshme- Deri në 200 karaktere
descriptionstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
submitLabelstringE detyrueshme- Nga 1 deri në 60 karaktere
successTitlestringE detyrueshme- Deri në 200 karaktere
successMessagestringE detyrueshme- Deri në 2000 karaktere
pendingTitlestringE detyrueshme- Deri në 200 karaktere
pendingMessagestringE detyrueshme- Deri në 2000 karaktere
closedTitlestringE detyrueshme- Deri në 200 karaktere
closedMessagestringE detyrueshme- Deri në 2000 karaktere
footerstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktere
styleobjectE detyrueshmeaccentstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ backgroundstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ surfacestringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ textstringE detyrueshme- Modeli
^#[0-9a-fA-F]{6}$ fontstringE detyrueshme- Një nga
"system""sans""serif""mono" radiusstringE detyrueshme- Një nga
"none""sm""md""lg""full" widthstringE detyrueshme- Një nga
"narrow""normal""wide" layoutstringE detyrueshme- Një nga
"card""plain" alignstringE detyrueshme- Një nga
"left""center" logoUrlstringE detyrueshme- Mund të jetë nullDeri në 2000 karaktereFormati
uri
FormListobject
objectstring- Një nga
"list" dataFormSummary[]hasMorebooleanTrue when another page follows. Pass
nextCursorback ascursorto read it.nextCursorstringAn opaque cursor for the next page, or null on the last page. Pass it back unchanged.
Mund të jetë null
FormStarterobject
objectstring- Një nga
"form_starter" slugstring- Një nga
"blank""newsletter""waitlist""event""early-access""contact" namestringdescriptionstring
FormStarterDetailobject
objectstring- Një nga
"form_starter" slugstring- Një nga
"blank""newsletter""waitlist""event""early-access""contact" namestringdescriptionstringdocumentFormDocument
FormStarterListobject
objectstring- Një nga
"list" dataFormStarter[]
FormStatsobject
viewsintegerTimes the hosted page or the embed was opened while the form was live.
submissionsintegerEvery submission stored, waiting or added.
addedintegerSubmissions whose person is in the audiences.
pendingintegerSubmissions still waiting for the person to confirm their address.
lastSubmittedAtstring- Mund të jetë nullFormati
date-time
FormSubmissionobject
objectstring- Një nga
"form_submission" idstringThe durable handle,
fsb_plus 24 hex.formIdstringemailstringThe address the person signed up with, lower cased.
statusstringaddedonce the person is a contact in the audiences.pendingwhile a double opt-in form waits for them to confirm.Një nga"pending""added"expiredbooleanTrue for a
pendingsubmission whose confirmation link has run out. Approve it, or send a fresh link.answersFormAnswer[]A snapshot of every answer, kept as it was even after the form changes.
audienceIdsstring[]sourceUrlstringThe page the form was filled in on, its origin and path only and at most 500 characters, when it was known.
Mund të jetë nullconfirmedAtstringWhen the person joined the audiences. Null while pending.
Mund të jetë nullFormatidate-timecreatedAtstring- Formati
date-time
FormSubmissionBatchobject
objectstring- Një nga
"form_submission_batch" formIdstringdeletedintegerHow many submissions were deleted.
FormSubmissionListobject
objectstring- Një nga
"list" dataFormSubmission[]hasMorebooleannextCursorstring- Mund të jetë null
formIdstring
FormSubscriptionobject
objectstring- Një nga
"form_subscription" formIdstringoutcomestringaddedwhen the person is in the audiences now.pendingon a double opt-in form: they join once they confirm by email, and that email goes out after this answer unless this form emailed the address in the last ten minutes or the address has had five from this workspace today.Një nga"added""pending"redirectUrlstringWhere the form sends people after a sign-up, when it is set to redirect.
Mund të jetë null
FormSummaryobject
objectstring- Një nga
"form" idstringThe durable handle,
frm_plus 24 hex.namestringWhat the workspace calls the form. Visitors never see it.
descriptionstring- Mund të jetë null
statusstringdraftuntil the first publish, thenlivewhile it takes sign-ups andpausedwhile it does not. A form never goes back todraft.Një nga"draft""live""paused"urlstringThe hosted page that shows the published form. Share it as a link, or add
?embed=1for the frame the embed script loads.subscribeUrlstringWhere a plain HTML
<form method="post">sends its fields, and where a script posts JSON for a JSON answer.audienceIdsstring[]The audiences every sign-up joins, besides the default audience that holds every contact. An audiences field adds the ones the person ticks.
doubleOptInbooleanWhether a sign-up waits for the person to confirm their address by email.
hasUnpublishedChangesbooleanTrue when the draft
documentdiffers from what the live form shows. Always false before the first publish.statsFormStatspublishedAtstring- Mund të jetë nullFormati
date-time createdAtstring- Formati
date-time updatedAtstringSend it back as
expectedUpdatedAtonPATCH /forms/{id}to refuse a save that would overwrite someone else's.Formatidate-time