{ "opencollection": "1.0.0", "info": { "name": "Docupilot accounts APIs ai templates API", "version": "1.0" }, "items": [ { "info": { "name": "templates", "type": "folder" }, "items": [ { "info": { "name": "Get list of templates", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "delivery_type", "value": "", "type": "query", "description": "Filter templates by configured delivery type (supports multiple values)" }, { "name": "folder", "value": "", "type": "query" }, { "name": "ordering", "value": "", "type": "query", "description": "Which field to use when ordering the results." }, { "name": "output_type", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "search", "value": "", "type": "query", "description": "Search templates by title" }, { "name": "status", "value": "", "type": "query", "description": "Filter templates by status. Active maps to published templates and test maps to unpublished templates." }, { "name": "type", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get list of templates" }, { "info": { "name": "Create template", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/", "headers": [ { "name": "X-Workspace", "value": "" } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create template" }, { "info": { "name": "Get one template", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get one template" }, { "info": { "name": "Update template", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update template" }, { "info": { "name": "Update template content", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update template content" }, { "info": { "name": "Move template to trash", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Move template to trash" }, { "info": { "name": "Copy template including preferences, deliveries", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/copy/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Copy template including preferences, deliveries" }, { "info": { "name": "Get the count of deliveries linked to a template", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/delivery_count/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Get the count of deliveries linked to a template" }, { "info": { "name": "Download template file", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/download/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." }, { "name": "version_id", "value": "", "type": "query", "description": "Template version selector. Supports a numeric version id, `latest`, or `live`." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Download template file" }, { "info": { "name": "Update the template editor version between v1 and v2", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/editor_version/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the template editor version between v1 and v2" }, { "info": { "name": "Upload inline image of template", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/inline_image/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Upload inline image of template" }, { "info": { "name": "Migrate DocuSign template to native signature delivery", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/migrate_to_native_syntax/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Migrate DocuSign template to native signature delivery" }, { "info": { "name": "Delete a template permanently from trash", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/permanent_delete/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a template permanently from trash" }, { "info": { "name": "Preview template", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/preview/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "format", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." }, { "name": "version_id", "value": "", "type": "query", "description": "Template version selector. Supports a numeric version id, `latest`, or `live`." } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Preview template" }, { "info": { "name": "Publish latest template version", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/publish/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Publish latest template version" }, { "info": { "name": "Restore a template from trash", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/restore/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Restore a template from trash" }, { "info": { "name": "Get template schema", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/schema/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." }, { "name": "version_id", "value": "", "type": "query", "description": "Template version selector. Supports a numeric version id, `latest`, or `live`." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get template schema" }, { "info": { "name": "Get template split schema", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:id/schema/detail/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this document." }, { "name": "version_id", "value": "", "type": "query", "description": "Template version selector. Supports a numeric version id, `latest`, or `live`." } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Get template split schema" }, { "info": { "name": "Get all shared permissions for specific template", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:template_id/permissions/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "template_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Get all shared permissions for specific template" }, { "info": { "name": "Create template sharing permission", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/:template_id/permissions/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "template_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Create template sharing permission" }, { "info": { "name": "Get specific permission details for given template", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/:template_id/permissions/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this template sharing setting." }, { "name": "template_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Get specific permission details for given template" }, { "info": { "name": "Update template content partially", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/dashboard/api/v2/templates/:template_id/permissions/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this template sharing setting." }, { "name": "template_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Update template content partially" }, { "info": { "name": "Revoke template sharing permission", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/dashboard/api/v2/templates/:template_id/permissions/:id/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this template sharing setting." }, { "name": "template_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Revoke template sharing permission" }, { "info": { "name": "List all templates", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/all/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "delivery_type", "value": "", "type": "query", "description": "Filter templates by delivery type\n\n" }, { "name": "folder", "value": "", "type": "query" }, { "name": "output_type", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Will return all templates without pagination, excluding templates in trashed" }, { "info": { "name": "Get the count of templates created by the user.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/count/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "owner_id", "value": "", "type": "query", "description": "Owner Id of resource" } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } }, "docs": "Get the count of templates created by the user." }, { "info": { "name": "move_templates_to_another_folder", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dashboard/api/v2/templates/move/", "headers": [ { "name": "X-Workspace", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Move templates to another folder" }, { "info": { "name": "templates_sharing_status_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/sharing_status/", "headers": [ { "name": "X-Workspace", "value": "" } ], "auth": { "type": "apikey", "key": "sessionid", "value": "{{sessionid}}", "placement": "query" } } }, { "info": { "name": "List all templates in trash.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dashboard/api/v2/templates/trash/", "headers": [ { "name": "X-Workspace", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List all templates in trash." } ] } ], "bundled": true }