FlaresendDocs
Broadcasts

Update a broadcast

Change a draft broadcast's audience, sender, subject or body.

PATCH/v1/broadcasts/{id}API key

Only draft broadcasts can be edited. Once a broadcast is scheduled or sending, cancel it and create a new one.

Every field is optional; the ones you leave out keep their value.

Path parameters

idstringpathrequired

The broadcast ID.

Body parameters

Send to a different audience.

fromstring

A new sender. Checked against the project's allowed domains and senders.

subjectstring

1 to 998 characters.

htmlstring

The new HTML body.

textstring

The new plain text body.

The same per-contact variables work in subject, html and text.

Response

The updated broadcast with counts, as in Retrieve a broadcast.

Errors

StatusCodeWhen
400invalid_bodyA field is malformed, or from is not a valid address.
403invalid_senderfrom is not on the project's allowed domains or senders.
404broadcast_not_foundNo broadcast with that ID in this project.
404audience_not_foundaudienceId is not an audience in this project.
409broadcast_not_draftThe broadcast is not a draft.