Starter Templates | Brixus365 Docs
Docs API Reference Starter Templates

Starter Templates

Send great-looking transactional email without designing it yourself. Free keys can use any starter template — no domain setup required.


List templates

GET/v1/starter-templates

Returns all starter templates available to your account.

Response

[
  {
    "slug": "welcome",
    "name": "Welcome email",
    "description": "Post-signup welcome with a three-step starter checklist.",
    "variables": ["name", "app_name"]
  }
]

Use the slug value as starterTemplate when calling POST /v1/emails.

Example

Bash
curl https://app.brixus365.com/api/v1/starter-templates \
-H "X-API-Key: bx_preview_your_key_here"

Available templates

SlugNameWhat it’s forVariables
otpOne-time passcodeSix-digit one-time passcode with short expiry. Use for passwordless sign-in and step-up verification.otp_code, expiry_minutes, app_name
magic_linkMagic sign-in linkSingle-use sign-in link delivered to the user’s inbox. No password required.login_url, expiry_minutes
email_verifyEmail verificationConfirm that a freshly-signed-up user owns the inbox they provided.verify_url
welcomeWelcome emailPost-signup welcome with a three-step starter checklist.name, app_name
password_resetPassword reset linkTime-limited link for the user to choose a new password after a reset request.reset_url, expiry_minutes
password_changedPassword changed confirmationConfirmation email after a successful password change, with a support contact if it wasn’t them.name, support_email
team_inviteTeam invitationWorkspace invitation with the inviter’s name and a one-click accept link.inviter_name, team_name, accept_url
trial_endingTrial ending reminderNudge near the end of a free trial with a clear upgrade call-to-action.days_left, upgrade_url
payment_receiptPayment receiptTransactional receipt with invoice ID, amount, and currency.amount, currency, invoice_id
security_alertSecurity alertSuspicious-activity alert with event, IP, and timestamp details.event, ip, at

All templates are responsive, dark-mode-friendly, and include a Brixus365 footer attribution. The footer is removed automatically on paid plans.


Preview a template

POST/v1/starter-templates/{slug}/preview

Render a template against a set of variables and return the resulting subject line and HTML — useful for an in-app preview before sending. No email is sent.

The endpoint uses POST with a JSON body (not GET with query params) so sensitive variables like reset links and OTPs are never written to server logs or proxy access logs.

Variables you supply are merged on top of the template’s built-in sample values, so you only need to pass the ones you want to override.

Path parameters

ParameterTypeDescription
slugrequiredstringTemplate slug from GET /v1/starter-templates.

Request body

{
  "variables": {
    "name": "Alice",
    "app_name": "Acme"
  }
}

The body is optional. Omit it (or send {}) to render with the template’s default sample variables.

Response

{
  "slug": "welcome",
  "subject": "Welcome to Acme",
  "html": "<!DOCTYPE html>...",
  "sampleVariables": {
    "name": "Alice",
    "app_name": "Acme"
  }
}

sampleVariables reflects the effective merged values used during rendering.

Example

Bash
1curl -X POST https://app.brixus365.com/api/v1/starter-templates/welcome/preview \
2-H "X-API-Key: bx_preview_your_key_here" \
3-H "Content-Type: application/json" \
4-d '{
5  "variables": {
6    "name": "Alice",
7    "app_name": "Acme"
8  }
9}'

Errors

StatusCodeDescription
404template_not_foundNo starter template with that slug exists