v1
latestOpenAPI 3.1.02026-07-2670105729.6 KBEmails
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/v1/emails/{emailId}/restore
Path parameters
emailIdstring required
Design id returned by POST /v1/emails and listed by GET /v1/emails.
Example:eml_2SmZOWV3ZQ7W5x6g3m4p
Design id returned by POST /v1/emails and listed by GET /v1/emails.
Headers
Idempotency-Keystring
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
Request body
Response
Restored — a new latest version row was written.