Create private apps with projects (BETA)
Create private apps to access your HubSpot data through HubSpot's APIs. Private apps can only be installed into the account where they're defined. Using a private app, you can access account data similar to using an API key, but with additional security and usability benefits. You can create multiple private apps per project and per account.
When created as part of a HubSpot project, private apps are stored in a folder that contains an
app.json file, and will also contain extensions and serverless function files needed by the app.
Private apps can include extensions, such as CRM cards, along with serverless functions to power the app and extensions. For example, a private app might include a CRM card to track external ticketing on HubSpot CRM records.
Learn more about the components that can be included in a private app.
Create a private app with a project
To create a private app within your project:
- Within the
srcfolder of your project directory, create an
- Within the app folder, create an
app.jsonfile. This file will contain your app definitions.
- Copy the following code into your
A unique name for the app.
The app's description.
The app's allowed scopes. At least one scope is required.
Contains the extensions included in the app. For CRM cards, include a
To view a private app's details in HubSpot:
- In your HubSpot account, navigate to CRM Development.
- In the left sidebar menu, navigate to Private apps.
- Click the name of the private app.
You'll then be taken to the app's Details page where you can view and manage its access token, view app logs, and delete the app. Learn more about managing private apps in HubSpot.
You can create up to 20 private apps in your HubSpot account. Each private app is subject to HubSpot's API usage guidelines. The number of calls your private app can make is based on your account subscription and whether you've purchased the API add-on:
|Product Tier||Per 10 Seconds||Per Day|
CRM Free and Starter subscriptions
|100 / private app||250,000 / account|
Professional and Enterprise subscriptions
|150 / private app||500,000 / account|
|Private Apps with API Add-on||
CRM Free and Starter, Professional, and Enterprise subscriptions
|200 / private app||1,000,000 / account|