Export a design to an ESP
Export a finished email DESIGN to a connected third-party ESP (Klaviyo, Mailchimp, HubSpot, Braze, Iterable, Postmark, OneSignal, SendGrid, Mailgun) as a reusable TEMPLATE. This is NOT a Brew send — it creates a template in the destination platform and does NOT deliver to recipients, and is unrelated to Brew sending domains or audiences. The provider must already be connected for the brand (connect ESPs in the Brew app). The exported HTML is automatically made ESP-portable. Pass dry_run: true to validate the design, brand ownership, and ESP connection without creating a template. Free (no credits).
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
The connected ESP to export the design to as a template.
braze, hubspot, klaviyo, mailchimp, iterable, postmark, onesignal, mailgun, sendgrid Template name in the ESP. Defaults to the email title.
1 - 100Validate the design, brand ownership, and ESP connection without creating a template.
Response
Dry run — the design + ESP connection were validated without creating a template.