templates
Validate a design against the Unlayer schema.
Validate a design JSON against the Unlayer design schema. Returns { success: true, data: { valid: true } } when the payload conforms; otherwise data is { valid: false, errors: [...] } with descriptive issues. Every checked design gets HTTP 200 — data.valid is the source of truth, not the status code. Only malformed requests (e.g. a missing design field or an unknown displayMode) fail request validation with 400 VALIDATION_ERROR.
post/v3/templates/validate
Request
- Base URL: https://api.unlayer.com
- URL: https://api.unlayer.com/v3/templates/validate
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 2 revisions of this API.