Email messages
Run Guardian checks on an email message
Changed onValidate an email message's content against Guardian rules and return any errors and warnings. Errors must be resolved before the email can be published, warnings are advisory.
get/v1/email-messages/{emailMessageId}/guardian
Request
- Base URLhttps://app.loops.so/api
- AuthHTTP bearer
Response
Successful.
Example response
{
"errors": [
{
"rule": "missingButtonHrefs",
"title": "Missing button link",
"description": "Buttons won't work without href value",
"items": [
{
"label": "Click here"
}
]
},
{
"rule": "missingLinkHrefs",
"title": "Missing text link",
"description": "Links won't work without href value",
"items": [
{
"label": "See more"
}
]
}
],
"warnings": []
}Changes
- info
api operation id
getEmailMessageGuardianwas added
- info