Get a transactional email
Read a reusable transactional email object: locked domainId / emailId / emailVersionId, envelope defaults, and the merge-tag list for snippets. On Liquid-enabled workspaces the response also carries the payload contract — variableTree (every trigger.* / customer.* path the pinned template references, with array/object shape and fallbacks), examplePayload (a nested payload that fires verbatim), and templating (engine + parse validity). Recomputed from the pinned design on every read. Fire it with POST /v1/sends { transactionId, to, payload? }. Permission: sends. There is no messageClass on this object — purpose lives on the sending domain.
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
The brand this request acts on. REQUIRED for organization-scoped credentials (otherwise 400 BRAND_ID_REQUIRED — there is no default brand); list ids with GET /v1/brands. Brand-scoped credentials may omit it, and sending a different brand returns 403 BRAND_SCOPE_MISMATCH. A brand outside your organization returns 404 BRAND_NOT_FOUND.
1 - 64Path Parameters
Public transactional email id (txn_…) returned when the object is created.
1 - 128"txn_8fK2mQ4pLx"
Query Parameters
Pass skill to add a skill field to the response: a complete SKILL.md-shaped wiring brief (endpoint, auth, typed payload contract, copy-paste snippets) for a coding agent or your repo.
skill Response
The transactional email object.
11111