HubSpot REST API
- URL
-
https://api.hubapi.com/ - Docs
- https://developers.hubspot.com/docs/api-reference/latest/overview
Authorization: Bearer <credential> Create an app in your HubSpot developer account, then open its auth settings in Manage apps in HubSpot. Configure the app for oauth, set its distribution (marketplace or private), and use the app's client_id and client_secret from the app details with your OAuth backend. HubSpot access tokens are then sent as Authorization: Bearer .... See the authentication overview.
Authorization: Bearer <credential> Create a private HubSpot app configured for static auth, then copy the static auth access token from your app settings in Manage apps in HubSpot. Use it as Authorization: Bearer ... when calling the API. See the authentication overview.
Authorization: Bearer <credential> In your HubSpot account, go to Service keys, create a service key under Development → Keys → Service keys, assign the needed scopes, then copy the key. Use it as Authorization: Bearer ... for REST API requests; in the Agent CLI's admin mode, set it as HUBSPOT_ACCESS_TOKEN.
Authorization: Bearer <credential> Create a HubSpot app and use its OAuth client_id and client_secret to request a client-credentials token from https://api.hubapi.com/oauth/2026-03/token with grant_type=client_credentials and the scopes required for the feature (currently used for the webhooks journal API). Send the resulting token as Authorization: Bearer .... See the authentication overview.
?hapikey=<credential> Open the developer overview in your HubSpot account to find your developer API key. Use it on endpoints that explicitly require it, usually as the hapikey query parameter and often together with appId. See the authentication overview.