{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apideck Accounting Activities Companies API",
    "version": "10.24.12"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apideck List companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/accounting/companies",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              },
              {
                "name": "x-apideck-company-id",
                "value": "12345"
              }
            ],
            "params": [
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return. Minimum 1, Maximum 200, Default 20"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List all companies accessible through the current connection. Only connectors that support multi-company access (x-apideck-supports-multi-company) will return a list of companies. Use the returned company ID in the x-apideck-company-id header to scope subsequent requests to a specific company."
        },
        {
          "info": {
            "name": "Apideck List companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/crm/companies",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return. Minimum 1, Maximum 200, Default 20"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Apply filters"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Apply sorting"
              },
              {
                "name": "pass_through",
                "value": "",
                "type": "query",
                "description": "Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List companies"
        },
        {
          "info": {
            "name": "Apideck Create company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://unify.apideck.com/crm/companies",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create company"
        },
        {
          "info": {
            "name": "Apideck Get company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/crm/companies/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Get company"
        },
        {
          "info": {
            "name": "Apideck Update company",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://unify.apideck.com/crm/companies/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update company"
        },
        {
          "info": {
            "name": "Apideck Delete company",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://unify.apideck.com/crm/companies/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete company"
        },
        {
          "info": {
            "name": "Apideck List Companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/hris/companies",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return. Minimum 1, Maximum 200, Default 20"
              },
              {
                "name": "pass_through",
                "value": "",
                "type": "query",
                "description": "Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Companies"
        },
        {
          "info": {
            "name": "Apideck Create Company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://unify.apideck.com/hris/companies",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create Company"
        },
        {
          "info": {
            "name": "Apideck Get Company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/hris/companies/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Get Company"
        },
        {
          "info": {
            "name": "Apideck Update Company",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://unify.apideck.com/hris/companies/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Company"
        },
        {
          "info": {
            "name": "Apideck Delete Company",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://unify.apideck.com/hris/companies/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete Company"
        }
      ]
    }
  ],
  "bundled": true
}