Skip to content
View as Markdown
Enter your site to enable Send. Requests are sent from your browser, so the site must allow cross-origin calls (CORS).

POST Update Recurring Campaign Email Data​

POST
/recurring-campaigns/update-campaign-data

Update the email content and settings for an existing recurring campaign. Includes email body, subject, pre-header, UTM parameters, template, footer settings, and design template. The campaign's next scheduled send time is recalculated based on the scheduling settings. Footer content must include an unsubscribe or manage subscription URL if a custom footer is enabled. Requires FluentCampaign Pro.

Required capability: fcrm_read_emails or fcrm_manage_emails — which one applies depends on the action being performed.

Enforced by SequencePolicy::verifyRequest(), the policy default for this route group.

Requires: FluentCampaign Pro. Without it the route does not exist.

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)

Request Body​

application/json
JSON
{
"campaign_id": 0,
"campaign": {
"title": "string",
"email_subject": "string",
"email_body": "string",
"email_pre_header": "string",
"template_id": 0,
"utm_status": 0,
"utm_source": "string",
"utm_medium": "string",
"utm_campaign": "string",
"utm_term": "string",
"utm_content": "string",
"design_template": "string",
"settings": {
"scheduling_settings": {
"type": "string",
"day": "string",
"time": "string",
"send_automatically": "string"
},
"footer_settings": {
"custom_footer": "string",
"footer_content": "string"
}
}
}
}

Responses​

Campaign email data updated successfully.

application/json
JSON
{
"message": "string",
"campaign": {
"id": 0,
"title": "string",
"slug": "string",
"status": "string",
"type": "string",
"template_id": 0,
"email_subject": "string",
"email_pre_header": "string",
"email_body": "string",
"recipients_count": 0,
"utm_status": 0,
"utm_source": "string",
"utm_medium": "string",
"utm_campaign": "string",
"utm_term": "string",
"utm_content": "string",
"design_template": "string",
"scheduled_at": "string",
"settings": {
"mailer_settings": {
"from_name": "string",
"from_email": "string",
"reply_to_name": "string",
"reply_to_email": "string",
"is_custom": "string"
},
"scheduling_settings": {
"type": "string",
"day": "string",
"time": "string",
"send_automatically": "string"
},
"sending_conditions": [
{
}
],
"subscribers_settings": {
"subscribers": [
{
}
],
"excludedSubscribers": [
{
}
],
"sending_filter": "string",
"dynamic_segment": {
},
"advanced_filters": [
[
]
]
},
"template_config": {
}
},
"created_by": 0,
"created_at": "string",
"updated_at": "string"
}
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI