Easymailing
Master templates

Get a master template

GET /master_templates/{uuid}

GET/master_templates/{uuid}

Returns one master template with its HTML and, for visual-editor designs, its simple JSON.

When to use: To inspect a base design before copying it with create_template_from_master.

When not to use: To find master templates use list_master_templates.

Permissions: Requires the author role or higher, or the marketing.templates.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the master template. Get it with list_master_templates.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/master_templates/8a4f1d93-6b27-4c05-9e38-d1b7a5f20c46" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "id": 0,  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "title": "string",  "type": "be_editor",  "thumbnail": "http://example.com",  "content": "string",  "simple_json_code": {},  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}