Restore a historical version
Emails
Restore a historical version
Non-destructive restore: clones the numbered version into a NEW latest row (demoting the current head) and returns the same generated-email shape as an edit, including the fresh emailVersionId.
POST
Restore a historical version
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.
Required string length:
1 - 100Path Parameters
Design id returned by POST /v1/emails and listed by GET /v1/emails.
Required string length:
1 - 64Example:
"eml_2SmZOWV3ZQ7W5x6g3m4p"
Body
application/json
Required range:
x >= 0