Skip to content
View as Markdown

PATCH Update Sequence Email Delay​

PATCH
/sequences/{id}/email/{email_id}/delay

Change only the wait time before a sequence email sends, without touching its subject, body, or any other setting. This is what drag-to-reorder in the sequence builder calls.

The email is looked up scoped to the sequence in the path, so an id from another sequence returns 404 rather than being edited.

An unrecognised delay_unit silently falls back to days rather than erroring. Note that Months is capitalised in the accepted list — months is not recognised and will be treated as days.

The value is written to settings.timings on the email record.

Required capability: fcrm_manage_emails

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)

Parameters​

Path Parameters

id*

Sequence id.

Type
integer
Required
email_id*

Sequence email id. Must belong to the sequence above.

Type
integer
Required

Request Body​

application/json
JSON
{
"delay": "0",
"delay_unit": "days"
}

Responses​

Wait time updated.

application/json
JSON
{
"message": "string",
"email": {
"id": 0,
"parent_id": 0,
"title": "string",
"settings": {
"timings": {
"delay": "string",
"delay_unit": "string"
}
}
}
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI