{ "opencollection": "1.0.0", "info": { "name": "Unified.to account integration API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "integration", "type": "folder" }, "items": [ { "info": { "name": "Returns All Integrations", "type": "http" }, "http": { "method": "GET", "url": "https://api.unified.to/unified/integration", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "updated_gte", "value": "", "type": "query" }, { "name": "categories", "value": "", "type": "query", "description": "Filter the results on these categories" }, { "name": "summary", "value": "", "type": "query" }, { "name": "active", "value": "", "type": "query", "description": "Filter the results for only the workspace's active integrations" }, { "name": "env", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query", "description": "Filter the results for only this integration type" } ], "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Returns All Integrations" }, { "info": { "name": "Authorize New Connection", "type": "http" }, "http": { "method": "GET", "url": "https://api.unified.to/unified/integration/auth/:workspace_id/:integration_type", "params": [ { "name": "success_redirect", "value": "", "type": "query", "description": "The URL where you want the user to be redirect to after a successful authorization. The connection ID will be appended with (id=) to this URL, as will the state that was provided." }, { "name": "failure_redirect", "value": "", "type": "query", "description": "The URL where you want the user to be redirect to after an unsuccessful authentication. An \"error\" variable will be appended." }, { "name": "state", "value": "", "type": "query", "description": "Extra state to send back to your success URL" }, { "name": "external_xref", "value": "", "type": "query", "description": "Your user identifier to associate with the new Integration" }, { "name": "scopes", "value": "", "type": "query" }, { "name": "redirect", "value": "", "type": "query" }, { "name": "env", "value": "", "type": "query" }, { "name": "lang", "value": "", "type": "query", "description": "Language: en, fr, es, it, pt, zh, hi" }, { "name": "subdomain", "value": "", "type": "query", "description": "Optional tenant domain or subdomain for integrations that require it to build the authorize, token, or API URL. Depending on the integration, this may be a bare subdomain or a full domain/URL." }, { "name": "workspace_id", "value": "", "type": "path", "description": "The ID of the workspace" }, { "name": "integration_type", "value": "", "type": "path", "description": "Type of the supported integration" } ] }, "docs": "Returns an authorization URL for the specified integration. Once a successful authorization occurs, a new connection is created." }, { "info": { "name": "Returns All Activated Integrations in a Workspace", "type": "http" }, "http": { "method": "GET", "url": "https://api.unified.to/unified/integration/workspace/:workspace_id", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "updated_gte", "value": "", "type": "query" }, { "name": "categories", "value": "", "type": "query", "description": "Filter the results on these categories" }, { "name": "summary", "value": "", "type": "query" }, { "name": "active", "value": "", "type": "query", "description": "Filter the results for only the workspace's active integrations" }, { "name": "env", "value": "", "type": "query" }, { "name": "workspace_id", "value": "", "type": "path", "description": "The ID of the workspace" } ] }, "docs": "No authentication required as this is to be used by front-end interface" } ] } ], "bundled": true }