Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Update Design

Update a design's name, HTML content, or metadata. Changes are saved to draft fields. Set publish: true to promote the draft to active.
path idstringrequired
Design ID (UUID)
body namestring
Design name
body html_frontstring
Updated HTML for the front side
body html_backstring
Updated HTML for the back side
body layoutstring
Layout preset
body themestring
Theme preset
body publishboolean
Publish the current draft (copies draft HTML to published)
Request example
curl -X PATCH https://api.v2.dealmachine.com/v1/mail/designs/design-uuid-123 \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{"name": "Updated Design", "publish": true}'