Run Guardian checks on an email message
Email messages
Run Guardian checks on an email message
Run Guardian content validation on an email message and return errors and warnings before you publish or send.
GET
Run Guardian checks on an email message
Run the same Guardian checks that run in the Loops editor on a saved email message. Use this to validate campaign, workflow, and transactional email content before publishing or sending.
Checks depend on the email message’s parent type:
- Campaign validates contact properties and rendered links and buttons.
- Workflow validates contact properties, event properties from the workflow’s event trigger, and rendered links and buttons.
- Transactional validates data variables and rendered links and buttons.
- System transactional validates required data variables and rendered links and buttons.
This will not work on MJML email messages, as they are not supported in the API.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the email message.
Last modified on July 20, 2026

