Import a Figma frame
Deterministically converts one selected Figma frame into a new editable Brew email design. No model runs and no credits are charged.
figmaUrl must be a Figma frame link containing node-id. The API-key brand must already have Figma connected in Brew Integrations, and that connected account must be able to read the file.
Set format to jsx (default) for React Email JSX or html for rendered email HTML. The requested representation is returned in content; the persisted design is identified by emailId and emailVersionId.
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 - 100Body
A figma.com design, file, or prototype URL for a specific frame. The URL must include a node-id query parameter.
1 - 2048Optional design title; defaults to the Figma frame name.
1 - 120Source representation returned in content: React Email JSX by default, or rendered email-safe HTML.
jsx, html Response
The converted design was persisted and the requested source representation is returned in content.
111jsx, html 1x >= 0x >= 0