{ "opencollection": "1.0.0", "info": { "name": "Codat Accounting Connections API", "version": "3.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Connections", "type": "folder" }, "items": [ { "info": { "name": "List connections", "type": "http" }, "http": { "method": "GET", "url": "https://api.codat.io/companies/:companyId/connections", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "Unique identifier for a company." } ] }, "docs": "List connections" }, { "info": { "name": "Create connection", "type": "http" }, "http": { "method": "POST", "url": "https://api.codat.io/companies/:companyId/connections", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "Unique identifier for a company." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a connection for the company by providing a platform key." }, { "info": { "name": "Get connection", "type": "http" }, "http": { "method": "GET", "url": "https://api.codat.io/companies/:companyId/connections/:connectionId", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "Unique identifier for a company." }, { "name": "connectionId", "value": "", "type": "path", "description": "Unique identifier for a connection." } ] }, "docs": "Get connection" }, { "info": { "name": "Update connection", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.codat.io/companies/:companyId/connections/:connectionId", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "Unique identifier for a company." }, { "name": "connectionId", "value": "", "type": "path", "description": "Unique identifier for a connection." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Deauthorizes a connection without deleting it." }, { "info": { "name": "Delete connection", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.codat.io/companies/:companyId/connections/:connectionId", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "Unique identifier for a company." }, { "name": "connectionId", "value": "", "type": "path", "description": "Unique identifier for a connection." } ] }, "docs": "Delete connection" } ] } ], "bundled": true }