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.

Create a company

Last updated June 17, 2020

POST /companies/v2/companies/

Method Details

HTTP Methods:


Content Type:


Response Format:


Requires Authentication?


Rate Limited?





Marketing & CRM

Required Scope:


The create a company endpoint is used to create a company for a given account.

Use case for this endpoint: This method is particularly useful if you're integrating with a CRM or another application with a similar notion of a company. You can use it to create companies in HubSpot that you may already have stored in an external system, like an Account-Based Marketing (ABM) solution or an Enterprise Resource Planning (ERP) system. 


Store the companyId, which will be the company's unique identifier in HubSpot. You'll need this to associate contacts with the company after you've created it. For more information on how to associate records, see our Companies API Overview.

Response details

If your request is successful, this endpoint will return a 200 response with an object representing the newly created 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 JSON Used in the request body This is JSON that represents a company that you're creating. This should be in the format of the code sample below.