textstring
The new plain text body.
Change a draft broadcast's audience, sender, subject or body.
/v1/broadcasts/{id}API keyOnly 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.
The broadcast ID.
Send to a different audience.
A new sender. Checked against the project's allowed domains and senders.
1 to 998 characters.
The new HTML body.
The new plain text body.
The same per-contact variables work in subject, html and text.
The updated broadcast with counts, as in Retrieve a broadcast.
| Status | Code | When |
|---|---|---|
| 400 | invalid_body | A field is malformed, or from is not a valid address. |
| 403 | invalid_sender | from is not on the project's allowed domains or senders. |
| 404 | broadcast_not_found | No broadcast with that ID in this project. |
| 404 | audience_not_found | audienceId is not an audience in this project. |
| 409 | broadcast_not_draft | The broadcast is not a draft. |