PSend

Templates

Create Template

Create a reusable transactional template. Variables use {{name}} syntax and are extracted automatically.

POST/v1/templatesBearer auth

Body Parameters

  • namestringrequired
    Template name.
  • aliasstring
    Stable alias for sends (unique per tenant).
  • subjectstringrequired
    Subject with optional {{vars}}.
  • htmlstring
    HTML body.
  • textstring
    Plain text body.
  • fromstring
    Default from address.
  • reply_tostring
    Default reply-to.