Submit saved popup
Changed onSubmit a saved popup without an API key. The popup's stored content is the source of truth for audience targeting, duplicate handling, resubscribe behavior, custom fields, and success behavior.
A contact who unsubscribed from all email is resubscribed and their target list memberships are restored. When the popup's resubscribeBehavior is double_opt_in, or workspace double opt-in is on, they receive a confirmation email instead. The response does not reveal which case applied.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/forms/popups/{popupId}
- Authnone required
Path parameters
The saved popup ID
Request body
Example request
{
"email": "user@example.com",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+12133734253",
"customAttributes": {
"company_size": "42"
}
}Response
Popup submitted successfully
Example response
{
"success": true,
"reward": {
"value": "10% off your first order",
"code": "WELCOME10"
}
}Changes
- info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: application/json) - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: application/json)
- info