GET
Get an email template

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie.

Path Parameters

templateId
string
required
Minimum string length: 1

Response

Template

id
string
required
organizationId
string
required
kind
enum<string>
required
Available options:
system,
custom
systemKey
string | null
required
name
string
required
subject
string
required
body
string
required
trigger
enum<string>
required
Available options:
ON_REGISTER,
ON_WAITLIST,
ON_STATUS_CHANGE,
ON_PAYMENT_REQUIRED,
ON_TICKET_ISSUED,
ON_TICKET_PURCHASE,
ON_CHECK_IN,
ON_ATTENDANCE_CLOSEOUT,
ON_INVITE,
SCHEDULED,
MANUAL_PROMO
scheduleAnchor
enum<string> | null
required
Available options:
event_start,
event_end,
null
scheduleOffsetMinutes
integer | null
required
audience
enum<string>
required
Available options:
registrant,
organizers
enabled
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required