{ "opencollection": "1.0.0", "info": { "name": "Textmagic REST Bulk Templates API", "version": "2.0" }, "request": { "auth": { "type": "apikey", "key": "X-TM-Username", "value": "{{X-TM-Username}}", "placement": "header" } }, "items": [ { "info": { "name": "Templates", "type": "folder" }, "items": [ { "info": { "name": "Get all templates", "type": "http" }, "http": { "method": "GET", "url": "https://rest.textmagic.com/api/v2/templates", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for pagination." }, { "name": "limit", "value": "", "type": "query", "description": "Number of items per page." } ] }, "docs": "Get all templates" }, { "info": { "name": "Create a template", "type": "http" }, "http": { "method": "POST", "url": "https://rest.textmagic.com/api/v2/templates", "body": { "type": "json", "data": "{}" } }, "docs": "Create a template" }, { "info": { "name": "Get a template's details", "type": "http" }, "http": { "method": "GET", "url": "https://rest.textmagic.com/api/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource identifier." } ] }, "docs": "Get a template's details" }, { "info": { "name": "Update a template", "type": "http" }, "http": { "method": "PUT", "url": "https://rest.textmagic.com/api/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a template" }, { "info": { "name": "Delete a template", "type": "http" }, "http": { "method": "DELETE", "url": "https://rest.textmagic.com/api/v2/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource identifier." } ] }, "docs": "Delete a template" } ] } ], "bundled": true }