POST Save Funnel Email Action​
POST
/funnels/{id}/sequences/save-email-action
Create or update a funnel email campaign associated with a specific funnel. If a campaign ID is provided and matches the funnel, it updates the existing campaign; otherwise, it creates a new one. Also handles visual builder design data.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Parameters​
Path Parameters
id*
The funnel ID.
Type
Requiredinteger
Request Body​
application/json
JSON
{
"action_data": {
"campaign": {
"id": 0,
"email_subject": "string",
"email_pre_header": "string",
"email_body": "string",
"design_template": "string",
"settings": {
},
"_visual_builder_design": {
}
},
"mailer_settings": {
}
}
}
Responses​
Email action saved successfully.
application/json
JSON
{
"type": "string",
"reference_campaign": 0,
"campaign": {
}
}