{
  "opencollection": "1.0.0",
  "info": {
    "name": "HubSpot Analytics Events Access Tokens Companies API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Hubspot List Companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubapi.com/crm/v3/objects/companies",
            "params": [
              {
                "name": "limit",
                "value": "10",
                "type": "query",
                "description": "The maximum number of results to return per page."
              },
              {
                "name": "after",
                "value": "example-value",
                "type": "query",
                "description": "The cursor for pagination to get the next page of results."
              },
              {
                "name": "properties",
                "value": "example-value",
                "type": "query",
                "description": "A comma-separated list of property names to return."
              },
              {
                "name": "archived",
                "value": "false",
                "type": "query",
                "description": "Whether to return archived companies."
              }
            ]
          },
          "docs": "Returns a page of company records. Use the limit and after parameters to paginate through companies. You can also specify which properties to return using the properties parameter."
        },
        {
          "info": {
            "name": "Hubspot Create a Company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/crm/v3/objects/companies",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new company record with the provided properties. The request body should include a properties object containing the field values for the company you want to create."
        },
        {
          "info": {
            "name": "Hubspot Get a Company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubapi.com/crm/v3/objects/companies/:companyId",
            "params": [
              {
                "name": "companyId",
                "value": "500123",
                "type": "path",
                "description": "The ID of the company to retrieve."
              },
              {
                "name": "properties",
                "value": "example-value",
                "type": "query",
                "description": "A comma-separated list of property names to return."
              },
              {
                "name": "archived",
                "value": "false",
                "type": "query",
                "description": "Whether to return archived companies."
              }
            ]
          },
          "docs": "Returns a single company record by its ID. You can specify which properties to return using the properties parameter."
        },
        {
          "info": {
            "name": "Hubspot Update a Company",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.hubapi.com/crm/v3/objects/companies/:companyId",
            "params": [
              {
                "name": "companyId",
                "value": "500123",
                "type": "path",
                "description": "The ID of the company to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Performs a partial update of a company record. Only the properties included in the request body will be updated; other properties will remain unchanged."
        },
        {
          "info": {
            "name": "Hubspot Archive a Company",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.hubapi.com/crm/v3/objects/companies/:companyId",
            "params": [
              {
                "name": "companyId",
                "value": "500123",
                "type": "path",
                "description": "The ID of the company to archive."
              }
            ]
          },
          "docs": "Archives (soft deletes) a company record by its ID. Archived companies can be restored using the HubSpot UI or API. This does not permanently delete the company from HubSpot."
        },
        {
          "info": {
            "name": "Hubspot Search Companies",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/crm/v3/objects/companies/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Searches for company records using filter groups, sorts, and other query parameters. Supports complex filtering with multiple filter groups and operators for precise record retrieval."
        }
      ]
    }
  ],
  "bundled": true
}