PUT
Upsert event override for an org email template

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie.

Path Parameters

eventId
string<uuid>
required
organizationTemplateId
string
required
Minimum string length: 1

Body

application/json
subject
string | null
Required string length: 1 - 500
body
string | null
Required string length: 1 - 50000
enabled
boolean | null
scheduleAnchor
enum<string> | null
Available options:
event_start,
event_end,
null
scheduleOffsetMinutes
integer | null

Response

Resolved template after override

source
enum<string>
required
Available options:
org,
event_custom
organizationTemplateId
string | null
required
eventTemplateId
string | null
required
overrideId
string | null
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
inherited
boolean
required