Create email template
Create an email template as a DRAFT, from either a block document (like the drag-and-drop builder) or raw html. The deliverable HTML and plain text are produced server-side; variables in the subject and body resolve at send. Publish it with email_templates_update (status PUBLISHED) before a journey can send it. Minimal blocks example: { "name": "Recordatorio", "subject": "Hola {{customer.name}}", "document": { "blocks": [ { "type": "heading", "text": "Tu pago vence pronto" }, { "type": "text", "text": "Hola {{customer.name}}, ..." }, { "type": "button", "text": "Pagar", "href": "https://..." }, { "type": "footer", "text": "Empresa, dirección" } ] } }.
Authorizations
Organization API key, sent as Authorization: Bearer boom_org_....
Body
Internal name, not shown to recipients.
1Subject line; may contain {{path}} variables.
1Block-builder content. Send exactly one of document or html.
Hand-written HTML (the template becomes an HTML template). Sanitized on save — scripts, event handlers and external stylesheets are removed and listed in removed. Variables use the same {{path}} grammar.
1Sender id to send From. Must be on the verified domain (usableAsFrom in journeys_email_templates). Null/omitted = the org default.
Sender id for Reply-To. Null/omitted = the org default.