v1
latestOpenAPI 3.1.02026-07-2670105729.6 KBExport 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).
Path parameters
Design id returned by POST /v1/emails and listed by GET /v1/emails.
Design id returned by POST /v1/emails and listed by GET /v1/emails.
Headers
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
Dry run — the design + ESP connection were validated without creating a template.