Create and manage hosted forms for collecting subscriber data. Forms can include reCAPTCHA verification, custom redirect URLs, and double opt-in. Forms are published to generate a public submission URL.
Show all forms
List all forms in the account.
Required scope(s): forms:read
query Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
pageper_pagewith_countInclude count in the response
Include count in the response
sort[-|+]?[a-zA-Z_]+Sort term and direction, using syntax [-|+]term.
Valid terms:
namelanguagecreated_onlast_updated_onlist_idstatusenabledupdated_onpublished_onbranding
Sort term and direction, using syntax [-|+]term.
Valid terms:
namelanguagecreated_onlast_updated_onlist_idstatusenabledupdated_onpublished_onbranding
filterValid Terms:
name
Valid Operators:
==
Query separator:
;
Valid Terms:
name
Valid Operators:
==
Query separator:
;
Show all forms › Responses
Successful Response
List of forms
Create a form
Create a new form. The form must be published before it can accept submissions.
Required scope(s): forms:write
query Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Create a form › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: name, content, list_id +1 more | |
| type = object · requires: list_id, name |
nameName of the form
list_idID of the contact list to subscribe to
languageSupported Locales
statusAn enumeration.
double_opt_inWhether to use double opt-in
typeCreate a form › Responses
Successful Response
idID of the created form
Created form details
objectObject type
createdWhether the form was created
Show a form details
Retrieve the full details of a form, including its configuration, submission URL, and publication status.
Required scope(s): forms:read
path Parameters
form_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Show a form details › Responses
Successful Response
Form details
Delete a form
Delete a form.
Required scope(s): forms:delete
path Parameters
form_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Delete a form › Responses
Successful Response
idID of the deleted form
objectObject type
deletedWhether the form was deleted
Update a form
Update a form's configuration. All fields are optional.
Required scope(s): forms:write
path Parameters
form_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Update a form › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
nameName of the form
statusPublication status of the form
list_idID of the contact list to subscribe to
languageSupported Locales
double_opt_inWhether to use double opt-in
Update a form › Responses
Successful Response
idID of the updated form
Updated form details
objectObject type
updatedWhether the form was updated
Publish a form
Publish a form, generating a public submission URL.
Required scope(s): forms:publish
path Parameters
form_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Publish a form › Responses
Successful Response
Form details
Render a form
Render the form's HTML for preview.
Required scope(s): forms:read
path Parameters
form_idquery Parameters
publishedRender the published content of the form
Render the published content of the form
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Render a form › Responses
Successful Response
dataRendered HTML content of the form
Submit a form
Submit data to a published form. Processes the submission and creates or updates the contact.
path Parameters
tokenSubmit a form › Request Body
emaillanguageSupported Locales
g-recaptcha-responseintereststagscustom_attributesSubmit a form › Responses
Successful Response
statusAn enumeration.
objectObject type
Disable a form
Disable a form, preventing it from accepting new submissions.
Required scope(s): forms:publish
path Parameters
form_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Disable a form › Responses
Successful Response
objectObject type
enabledWhether the form is enabled
Enable a form
Enable a form, allowing it to accept submissions.
Required scope(s): forms:publish
path Parameters
form_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Enable a form › Responses
Successful Response
objectObject type
enabledWhether the form is enabled