{ "opencollection": "1.0.0", "info": { "name": "PDF Generator Documents Templates API", "version": "4.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Templates", "type": "folder" }, "items": [ { "info": { "name": "Get all templates", "type": "http" }, "http": { "method": "GET", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates", "params": [ { "name": "access", "value": "", "type": "query" }, { "name": "tags", "value": "", "type": "query" } ] }, "docs": "Returns a list of templates available to the authenticated workspace." }, { "info": { "name": "Create template", "type": "http" }, "http": { "method": "POST", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new template in the authenticated workspace." }, { "info": { "name": "Get template", "type": "http" }, "http": { "method": "GET", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/:templateId", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier of the template." } ] }, "docs": "Retrieves the configuration of a single template." }, { "info": { "name": "Update template", "type": "http" }, "http": { "method": "PUT", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/:templateId", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier of the template." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the configuration of an existing template." }, { "info": { "name": "Delete template", "type": "http" }, "http": { "method": "DELETE", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/:templateId", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier of the template." } ] }, "docs": "Removes a template from the workspace." }, { "info": { "name": "Copy template", "type": "http" }, "http": { "method": "POST", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/:templateId/copy", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier of the template." }, { "name": "name", "value": "", "type": "query" } ] }, "docs": "Creates a copy of a template into the workspace specified in the authentication parameters." }, { "info": { "name": "Get template data fields", "type": "http" }, "http": { "method": "GET", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/:templateId/data", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier of the template." } ] }, "docs": "Returns all data fields referenced within a template." }, { "info": { "name": "Open template editor", "type": "http" }, "http": { "method": "POST", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/:templateId/editor", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier of the template." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generates a unique URL that opens the browser-based template editor for a template." }, { "info": { "name": "Import template", "type": "http" }, "http": { "method": "POST", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/import", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a template from an existing PDF." }, { "info": { "name": "Validate template", "type": "http" }, "http": { "method": "POST", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/validate", "body": { "type": "json", "data": "{}" } }, "docs": "Validates whether the provided template configuration matches the template JSON schema." }, { "info": { "name": "Get template schema", "type": "http" }, "http": { "method": "GET", "url": "https://us1.pdfgeneratorapi.com/api/v4/templates/schema" }, "docs": "Returns the JSON Schema that defines the structure of a template." } ] } ], "bundled": true }