Skip to main content
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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

emailMessageId
string
required

The ID of the email message.

Response

Successful.

errors
object[]
required

Validation errors. These must be resolved before the email can be published.

warnings
object[]
required

Validation warnings. These are advisory and do not block publishing.

Last modified on July 20, 2026