White-label emails

Per-account email-template customization (copy, regions, delivery method, logs, test sends).

Per-account email-template customization (copy, regions, delivery method, logs, test sends).

Prerequisites

  • A bearer token in the Authorization header. Any endpoint that needs no token says so on its own page.
  • The id of each record the call targets. Every endpoint page lists the ids it needs.

Errors

StatusMeaning
401The bearer token is missing, expired or invalid
403The template type is platform-managed, or the email-template section is disabled for your account
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

List email template types

POST — List every email-template type from the catalog merged with the company's own override flags (enabled state, delivery method, logo visibility, customised flag).

Open →

Get template variables for a type

POST — Returns the list of supported variable tokens (with sample values) usable in the header/body/footer/signature content for one template type.

Open →

Get a single template (editor payload)

POST — Loads the full editor payload for one template type: raw override regions (null = inherit), resolved effective content, catalog defaults, theme color, and current settings (enabled, delivery method, logo visibility).

Open →

Save (upsert) a template override

POST — Create or update the company's content override for a template type.

Open →

Preview a template (render-only)

POST — Renders the template with sample variable values and returns the resulting HTML + resolved subject.

Open →

Enable/disable a template type

POST — Enable or disables sending for a template type.

Open →

Set delivery method (direct/webhook)

POST — Switches a template type between Direct Send (email) and Webhook delivery.

Open →

Set logo visibility

POST — Controls whether the white-label partner logo is shown in the email header for a template type (defaults to visible).

Open →

List delivery logs

POST — Returns a paginated log of all email/webhook delivery attempts for the company, newest first, filterable by type, status, recipient, and date range.

Open →

Restore template to system defaults

POST — Clear the company's content overrides (header, body, footer, signature, subject_override) for a type, reverting to system/white-label defaults.

Open →

Send a test email to yourself

POST — Send a real test email (subject prefixed with [Test] ) to the authenticated user's own email address, using sample variable values and any posted draft regions.

Open →


Did this page help you?