Developers
REST API, SDKs, JSON schema, server-side rendering, and webhook integration.
All Topics in Developers
Developer Platform Overview
Integrate PostBrix into your tech stack using our REST API, TypeScript SDK, JSON template schema, and server-side MJML rendering engine.
Client Libraries & SDKs
Copy-pasteable code examples for Node.js, TypeScript, Python, Go, PHP, Ruby, Java, C#, and cURL.
REST API Reference
Exhaustive documentation for all PostBrix v1 endpoints: render, projects, templates, and health check.
Authentication & API Keys
Generate secure API keys, manage workspace permissions, handle key rotation, and troubleshoot 401 Unauthorized errors.
Programmatic Templates
Manage templates via API: fetching template structures, cloning projects, and syncing template revisions.
Template JSON Schema (AST)
Explore the abstract syntax tree (AST) used by PostBrix to represent emails: block types, attributes, styles, and children.
Server-Side Rendering Pipeline
How the PostBrix render engine processes blocks: structural repair, head generation, body rendering, and Handlebars hydration.
Injecting Dynamic Data via API
Pass structured variables, arrays, booleans, and nested objects to the render endpoint.
MJML Engine & Compilation
Technical details on MJML compilation: validation levels, error handling, timeout guarantees, and custom elements.
HTML Output & Caching Headers
Understand the HTML output caching strategy: SHA-256 content hashing, Redis storage, and X-Cache headers.
Webhooks & Event Lifecycle
Handle asynchronous lifecycle events, verify cryptographic signatures using Svix, and prevent duplicate deliveries.