{ "opencollection": "1.0.0", "info": { "name": "listmonk Bounces Templates API", "version": "4.1" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Templates", "type": "folder" }, "items": [ { "info": { "name": "Retrieve all templates.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/api/templates" }, "docs": "Retrieve all templates." }, { "info": { "name": "Create a template.", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9000/api/templates", "body": { "type": "json", "data": "{}" } }, "docs": "Create a template." }, { "info": { "name": "Retrieve a template.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/api/templates/:template_id", "params": [ { "name": "template_id", "value": "", "type": "path" } ] }, "docs": "Retrieve a template." }, { "info": { "name": "Update an existing template.", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9000/api/templates/:template_id", "params": [ { "name": "template_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing template." }, { "info": { "name": "Delete a template.", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:9000/api/templates/:template_id", "params": [ { "name": "template_id", "value": "", "type": "path" } ] }, "docs": "Delete a template." }, { "info": { "name": "Retrieve the rendered HTML preview of a template.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/api/templates/:template_id/preview", "params": [ { "name": "template_id", "value": "", "type": "path" } ] }, "docs": "Retrieve the rendered HTML preview of a template." }, { "info": { "name": "Set a template as the default.", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9000/api/templates/:template_id/default", "params": [ { "name": "template_id", "value": "", "type": "path" } ] }, "docs": "Set a template as the default." }, { "info": { "name": "Render and preview a template body without saving it.", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9000/api/templates/preview", "body": { "type": "json", "data": "{}" } }, "docs": "Render and preview a template body without saving it." } ] } ], "bundled": true }