Edit Generated Email
Generated Emails
Edit Generated Email
Update a generated campaign message
PATCH
Edit Generated Email
CLI:
Overview
Edits one generated email draft inside a campaign. The path identifies the campaign, and the body identifies the generated message withmessage_id.
Send subject, body_text, or both. When the plaintext body changes, Puffle preserves any previously saved custom HTML suffix instead of rebuilding the entire message from scratch.
AI agent notes
Use this only after the human approves a concrete edit to a draft generated email. Do not use it to regenerate all messages or to send a message. If the target message is already pending or sent, surface the validation error instead of retrying with the same payload.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Campaign UUID
Response
Draft generated message updated successfully.