There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Update a company

Last updated June 17, 2020

PUT /companies/v2/companies/:companyId

Method Details

HTTP Methods:


Content Type:


Response Format:


Requires Authentication?


Rate Limited?





Marketing & CRM

Required Scope:


This endpoint updates an existing company with new properties or property values. These properties/values must be specified by JSON in the request body.

Use case for this endpoint: Your company is using HubSpot and  an external Account-Based Marketing (ABM) solution. In your ABM product, you've recorded enough activity to classify a company as a target account. This endpoint would allow you to update the status of the company in HubSpot, kicking off a workflow notifying CRM users about the change. 

Response details

A successful request will return a 200 response with a JSON object representing the updated company.

Required parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Company Id Used in the request URL (see above) Unique identifier for a particular company.
Company JSON Used in the request body This is JSON that represents the changes that you are making to the specified company. This should be in the format of the code sample below.