{
  "opencollection": "1.0.0",
  "info": {
    "name": ".to account unified API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "authorization",
      "value": "{{authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "unified",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns Api Calls",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/apicall",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "external_xref",
                "value": "",
                "type": "query",
                "description": "Filter the results to only those integrations for your user referenced by this value"
              },
              {
                "name": "integration_type",
                "value": "",
                "type": "query",
                "description": "Filter the results to just this integration"
              },
              {
                "name": "error",
                "value": "",
                "type": "query",
                "description": "Filter the results for API Calls with errors"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "query",
                "description": "Filter the results to just this integration"
              },
              {
                "name": "env",
                "value": "",
                "type": "query"
              },
              {
                "name": "webhook_id",
                "value": "",
                "type": "query",
                "description": "Filter the results to just this webhook"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter the results to just this type"
              },
              {
                "name": "is_billable",
                "value": "",
                "type": "query",
                "description": "Filter the results for only billable API Calls"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns Api Calls"
        },
        {
          "info": {
            "name": "Retrieve Specific Api Call by Its Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/apicall/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Apicall"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve Specific Api Call by Its Id"
        },
        {
          "info": {
            "name": "List All Connections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/connection",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "external_xref",
                "value": "",
                "type": "query",
                "description": "Filter the results to only those integrations for your user referenced by this value"
              },
              {
                "name": "categories",
                "value": "",
                "type": "query",
                "description": "Filter the results on these categories"
              },
              {
                "name": "env",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List All Connections"
        },
        {
          "info": {
            "name": "Create Connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/unified/connection",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Used only to import existing customer credentials; use \"Authorize new connection\" instead"
        },
        {
          "info": {
            "name": "Retrieve Connection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/connection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve Connection"
        },
        {
          "info": {
            "name": "Update Connection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/unified/connection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Connection"
        },
        {
          "info": {
            "name": "Update Connection",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/unified/connection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Connection"
        },
        {
          "info": {
            "name": "Remove Connection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/unified/connection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove Connection"
        },
        {
          "info": {
            "name": "Returns All Environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/environment",
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns All Environments"
        },
        {
          "info": {
            "name": "Create New Environments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/unified/environment",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create New Environments"
        },
        {
          "info": {
            "name": "Remove an Environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/unified/environment/:env",
            "params": [
              {
                "name": "env",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove an Environment"
        },
        {
          "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=<connectionId>) 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"
        },
        {
          "info": {
            "name": "List Support Issues",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/issue",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Support Issues"
        },
        {
          "info": {
            "name": "Retrieve Support Issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/issue/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Issue"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve Support Issue"
        },
        {
          "info": {
            "name": "Returns All Registered Webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/webhook",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "object",
                "value": "",
                "type": "query",
                "description": "Filter the results for webhooks for only this object"
              },
              {
                "name": "integration_type",
                "value": "",
                "type": "query",
                "description": "Filter the results to just this integration"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "query",
                "description": "Filter the results to just this integration"
              },
              {
                "name": "created_lte",
                "value": "",
                "type": "query",
                "description": "Return only results whose created date is equal or less to this value"
              },
              {
                "name": "env",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns All Registered Webhooks"
        },
        {
          "info": {
            "name": "Create Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/unified/webhook",
            "params": [
              {
                "name": "include_all",
                "value": "",
                "type": "query",
                "description": "When set, all of the existing data will sent back to your server."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "The data payload received by your server is described at https://docs.unified.to/unified/overview. The `interval` field can be set as low as 1 minute for paid accounts, and 60 minutes for free accounts."
        },
        {
          "info": {
            "name": "Retrieve Webhook by Its Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/unified/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Webhook"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve Webhook by Its Id"
        },
        {
          "info": {
            "name": "Update Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/unified/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Webhook"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Webhook Subscription"
        },
        {
          "info": {
            "name": "Update Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/unified/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Webhook"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Webhook Subscription"
        },
        {
          "info": {
            "name": "Remove Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/unified/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Webhook"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove Webhook Subscription"
        },
        {
          "info": {
            "name": "Trigger Webhook",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/unified/webhook/:id/trigger",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Webhook"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Trigger Webhook"
        },
        {
          "info": {
            "name": "Trigger Webhook",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/unified/webhook/:id/trigger",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Webhook"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Trigger Webhook"
        }
      ]
    }
  ],
  "bundled": true
}