List email messages
List all email messages from accessible organizations. Optionally filter by organization_id, edition_id, type, or scope.
query Parameters
edition_idFilter by specific edition (optional)
orderingOrdering
created- Created-created- Created (descending)modified- Modified-modified- Modified (descending)title- Title-title- Title (descending)
organization_idFilter by specific organization (optional)
pageA page number within the paginated result set.
page_sizeNumber of results to return per page (default: 100).
scopeFilter by scope: platform, template, or edition (optional)
typeFilter by message type (optional)
List email messages › Responses
countnextpreviousCreate email message
Create a new email message. Content blocks can be added separately via the content endpoint.
Create email message › Request Body
organization_idtitletypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
edition_idscopetemplate- Templateedition- Edition
templatemodern- Modern
Create email message › Responses
idtitlesubjecttypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
createdmodifiedscopeplatform- Platformtemplate- Templateedition- Edition
templatemodern- Modern
Get email message details
Get detailed information about an email message including all content blocks.
path Parameters
idA unique value identifying this E-mail Message.
Get email message details › Responses
idtitlesubjecttypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
createdmodifiedscopeplatform- Platformtemplate- Templateedition- Edition
templatemodern- Modern
Update email message
Update email message metadata and optionally replace content blocks.
path Parameters
idA unique value identifying this E-mail Message.
Update email message › Request Body
titletypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
scopetemplatemodern- Modern
Update email message › Responses
idtitlesubjecttypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
createdmodifiedscopeplatform- Platformtemplate- Templateedition- Edition
templatemodern- Modern
Adopt template to edition
Copy an organization-level template to an edition. This creates an edition-scoped copy with all content blocks. If the template type matches a known trigger type (receipt, refund), the edition's FK fields are auto-set and triggers are synced.
path Parameters
idA unique value identifying this E-mail Message.
Adopt template to edition › Request Body
edition_idTarget edition to adopt the template into
titleNew title (optional)
Adopt template to edition › Responses
idtitlesubjecttypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
createdmodifiedscopeplatform- Platformtemplate- Templateedition- Edition
templatemodern- Modern
Duplicate email message
Create a copy of an email message. Optionally specify a target edition or create an organization-level copy.
path Parameters
idA unique value identifying this E-mail Message.
Duplicate email message › Request Body
edition_idTarget edition (optional, creates org-level copy if omitted)
titleNew title (optional)
Duplicate email message › Responses
idtitlesubjecttypereceipt- Purchase receiptreceipt_online- Purchase receipt (online)reminder- Purchase reminderrefund_confirmation- Refund confirmationuser_portal_access- User portal accesscampaign- Campaignother- Other
createdmodifiedscopeplatform- Platformtemplate- Templateedition- Edition
templatemodern- Modern
Preview email
Render email preview with optional mock context data. Returns HTML output suitable for displaying in an iframe or preview pane.
path Parameters
idA unique value identifying this E-mail Message.
Preview email › Request Body
modemjml- mjmlhtml- html
Language code to render the preview in (e.g. 'da', 'en'). Uses default if not set.
en- enda- dase- sepl- plnl- nl
Mock context for template variables
Optional blocks to preview without saving
Optional subject override for preview
Preview email › Responses
htmlsubject
