Widgets
Submit saved signup form by company
Compatibility path for saved signup form submissions. New embeds should use /forms/{formId}.
The form's stored settings are the source of truth for audience targeting (lists, tags) and success behavior (success message or redirect URL), so dashboard edits apply to deployed embeds without re-embedding. List, tag, and redirect values in the request are ignored.
post/forms/{companyIdOrFormId}/{formId}
Path parameters
companyIdOrFormIdstring required
The company ID the form belongs to
formIdstring required
The saved form ID
Request body
Example request
{
"email": "user@example.com",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+12133734253",
"customAttributes": {
"nickname": "Ace",
"favorite_fruit": "Mango"
}
}Response
Form submitted successfully. Native HTML form posts that accept text/html receive a hosted confirmation page showing the form's success message instead of JSON.
Example response
{
"success": true
}