{ "opencollection": "1.0.0", "info": { "name": "Spotio 2.0 Documents API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Documents", "type": "folder" }, "items": [ { "info": { "name": "Get documents for existing dataObject", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/Documents", "params": [ { "name": "leadId", "value": "", "type": "query" }, { "name": "dataObjectId", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get documents for existing dataObject" }, { "info": { "name": "Add a new document for existing dataObject", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/Documents", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Add a new document for existing dataObject" }, { "info": { "name": "Get documents with pagination", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/Documents/paged", "params": [ { "name": "startDate", "value": "", "type": "query" }, { "name": "endDate", "value": "", "type": "query" }, { "name": "documentContext", "value": "", "type": "query" }, { "name": "scrollId", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get documents with pagination" }, { "info": { "name": "Get documents with pagination", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/Documents/paged", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get documents with pagination" }, { "info": { "name": "Get all company documents", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/Documents/company", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get all company documents" }, { "info": { "name": "Get document by id", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/Documents/:documentId", "params": [ { "name": "documentId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get document by id" }, { "info": { "name": "Delete existing document by id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.spotio2.com/api/Documents/:documentId", "params": [ { "name": "documentId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete existing document by id" }, { "info": { "name": "Get document url by id", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/Documents/:documentId/url", "params": [ { "name": "documentId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get document url by id" }, { "info": { "name": "Update company document", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotio2.com/api/Documents/company/:documentId", "params": [ { "name": "documentId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update company document" } ] } ], "bundled": true }