templates
Get the design JSON Schema.
Returns the canonical design schema as a standard JSON Schema document — the exact schema POST /v3/templates/validate checks against, ready to plug into any JSON Schema validator or editor tooling. Serves the Full schema by default; pass simple=true for the compact Simple schema. No authentication required. Responses carry a strong ETag and long-lived cache headers; send If-None-Match to revalidate for free.
get/v3/templates/schema
Request
- Base URL: https://api.unlayer.com
- URL: https://api.unlayer.com/v3/templates/schema
- Auth: none required
Query parameters
simpleboolean
When true, returns the Simple schema instead of the Full schema.
displayMode'email' | 'web' | 'popup' | 'document'
Display mode whose rules the schema describes (email, web, document, popup). Defaults to "email".
Response
Default Response
Changes
No recorded changes to this operation across all 2 revisions of this API.