Skip to main content
PUT
Edit an email template

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Body

application/json

Data needed to edit an email template

emailset_id
integer

The id of the email set

trigger
string

The trigger for the email

subject
string

The subject of the email

message
string

The message of the email

to
string

The recipient of the email

disabled
boolean

Whether the email is disabled

no_email
boolean

Whether to send the email

id
integer

The id of the email template

receipt_context
object | null

Optional context for the shared soft_credit variant: giving_source=daf and recipient_role=soft_credit rejects enabling an unchanged Standard Donation copy. Missing context preserves ordinary Direct behavior; existing custom content is never rewritten.

Response

Successful operation

message
string

Success message