Check a template
An exx.sh addition: checks a version of the template before it is sent (links, images, size, text part, subject, variables and the content scan). Links are fetched (HEAD, then GET) from exx.sh's servers, so checks are rate limited per project and per organization.
An exx.sh addition: checks a version of the template before it is sent (links, images, size, text part, subject, variables and the content scan). Links are fetched (HEAD, then GET) from exx.sh's servers, so checks are rate limited per project and per organization.
bearerAuthorizationBearer <token>id*stringThe template's id or alias
version?stringdraft (the default) or published.
"draft""published"Success
application/json- response
The pre-send checks of a template version.
errors*integerResults with severity error.
0 <= valueobject*stringresults*array<>In check order; past a cap per check, one more result counts the rest.
warnings*integerResults with severity warning.
0 <= valuecurl -X POST 'https://api.exx.sh/templates/string/check'{ "errors": 0, "object": "string", "results": [ { "detail": "string", "id": "string", "message": "string", "severity": "error" } ], "warnings": 0}