{ "opencollection": "1.0.0", "info": { "name": "Spotio 2.0 Contracts API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Contracts", "type": "folder" }, "items": [ { "info": { "name": "Get available templates to sign", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/econtracts/v2/templates", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "dataObjectId", "value": "", "type": "query", "description": "Optional filter - get templates for dataObject" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Templates can be signed by the customer." }, { "info": { "name": "Get all available sign templates.", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/econtracts/templates/all", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get all available sign templates." }, { "info": { "name": "Sign document based on template", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/econtracts/templates/:id/sign", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier for the template" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send information to a customer that the document template is ready to sign." }, { "info": { "name": "Get Signature url by signatureId", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/econtracts/signature/:signatureId/signurl", "params": [ { "name": "signatureId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get url for current sign" }, { "info": { "name": "Get Signature by signatureId", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/econtracts/signature/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get information about signature and status" }, { "info": { "name": "Get signatures for dataObject", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/econtracts/signature/dataObject/:dataObjectId", "params": [ { "name": "dataObjectId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get signatures for dataObject" }, { "info": { "name": "Cancel signatures", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/econtracts/:id/cancel", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier for the signature" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "The endpoint allows cancel signatures which status is pending (not signed)." }, { "info": { "name": "Download signed templated", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/econtracts/:id/download", "params": [ { "name": "asPdf", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path", "description": "The unique identifier for the signature" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get signed document url for download. Signed file are packed into a zip file" } ] } ], "bundled": true }