Templates
Get the template design schema
GET /templates_schema
GET
/templates_schemaReturns the JSON schema of simple_json_code, with an official valid example, the available module types, the layout rules and the most common mistakes.
When to use: Before creating or updating a visual-editor template with simple_json_code, to build a design the editor accepts.
When not to use: To read an existing template use get_template.
Permissions: Requires the author role or higher, or the marketing.templates.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/templates_schema" \ -H "X-Auth-Token: YOUR_API_KEY"{ "id": "schema", "schema": {}, "official_example": {}, "common_errors": {}, "documentation": {}}