Skip to main content
GET
Preview persisted auto-email content

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

emailset_id
integer<int64>
required

Email set containing the selected template. The endpoint verifies that this set belongs to the authenticated organization before reading template content.

Required range: x >= 1
trigger
string
required

Configured auto-email trigger selected by the administrator, such as pay_receipt or year_end_statement.

Query Parameters

donation_type
enum<string> | null
default:default

Template variant to preview. Accepts the default donation variants plus journey_library for Journey message-library templates exposed through the legacy auto-email list; omitted values use default.

Available options:
default,
in_kind,
soft_credit,
journey_library

Response

Persisted template content was found for the authenticated organization.

emailtemplate
object
required