Templates

Create a template

Creates a reusable email template; every save is live.

post/templates

Request

  • Base URL: https://api.mepmail.dev
  • URL: https://api.mepmail.dev/templates
  • Auth: HTTP bearer

Request body

namestring required
subjectstring nullable

"" or null clears the subject

htmlstring required

Stored as sent; the dashboard sanitizes at render

textstring nullable

"" or null clears the text part

aliasstring nullable

Case-sensitive handle, unique per team; GET /templates/{alias} resolves it

fromstring nullable

Not supported yet: any value is a 422

Response

Template created. Templates have no draft/publish cycle: every save is live, so status is always published.

object'template' required
idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.