Create a template from a master
POST /master_templates/{uuid}/actions/create_template
/master_templates/{uuid}/actions/create_templateCopies a master template into a new regular template with the title you give. The copy is independent: changing it does not change the master.
When to use: To start a new email from one of the account's base designs and then adapt it with update_template.
When not to use: To start from a ready-made design offered by Easymailing use create_template_from_theme; to create one from your own HTML use create_template.
Side effects: A thumbnail image of the new template is generated in the background.
Permissions: Requires the author role or higher, or the marketing.templates.write capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the master template. Get it with list_master_templates.
The new MasterTemplate resource
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.easymailing.com/master_templates/8a4f1d93-6b27-4c05-9e38-d1b7a5f20c46/actions/create_template" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "title": "string" }'{ "id": 0, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "title": "string", "type": "be_editor", "thumbnail": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}