Clone an email design
Creates a NEW design by copying the persisted source snapshot exactly. This is a deterministic database fork: it does not invoke an AI agent, reinterpret markup, re-host assets, or regenerate the preview.
Omit emailVersionId to clone the current latest row, or pass a version id from GET /v1/emails?emailId=<id>&include=versions to clone that exact historical snapshot. The clone receives fresh design/version ids and a Copy of … title while JSX, rendered HTML, and the preview image remain identical.
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
1 - 100Path Parameters
Design id returned by POST /v1/emails and listed by GET /v1/emails.
1 - 64"eml_2SmZOWV3ZQ7W5x6g3m4p"
Body
Optional exact source-version pin. Omit the body or send an empty object to clone latest.
Exact source version to clone (from list_email_designs with include: ["versions"]). Omit to clone the current latest version.
1 - 64