Skip to main content
POST
Create email template

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Headers

idempotency-key
string

Key that makes this request safe to retry. Reuse the same value when retrying a request that may already have succeeded — the original response is replayed with an Idempotency-Replay: true header. Use a new value for a new operation.

Required string length: 1 - 255
Example:

"9f8c2b1a-4d3e-4a6b-8c1d-2e3f4a5b6c7d"

Body

application/json
name
string
required
Required string length: 1 - 200
subject
string
required
Required string length: 1 - 1000
body
string
required
Required string length: 1 - 50000
description
string | null
Maximum string length: 2000
variables
string[] | null
Maximum array length: 100
Maximum string length: 200
status
enum<string>
default:active
Available options:
active,
archived

Response

Email template created successfully

data
object
required
meta
object
Last modified on October 10, 2026