HubSpot

Business Unit

Retrieve Business Unit information.

Other#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Retrieve Business Unit information.

Endpoints 1

Business Unit

  • GETGet Business Units for a user/business-units/v3/business-units/user/:userId?properties=string&name=stringGet Business Units identified by userId. The userId refers to the user’s ID.

API details

Base URL
https://api.hubapi.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the private-app-legacy header
Operations
1 operation on 1 pathGET 1
Main resources
Business Unit 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version v3
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Business Unit in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Business Unit collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Get Business Units for a user” (GET /business-units/v3/business-units/user/:userId?properties=string&name=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Business Unit?

Retrieve Business Unit information. It is listed under Other and has 1 endpoint.

Who publishes the Business Unit?

It is listed from HubSpot's public API description (an OpenAPI document), not published by HubSpot on Swastik Codes. Anyone who controls hubapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Business Unit?

Requests go to https://api.hubapi.com. Endpoint paths are added to this base URL.

How do I authenticate with the Business Unit?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the private-app-legacy header.

How many endpoints does the Business Unit have?

1 operation on 1 path (1 GET). The largest groups are Business Unit.

Is forking the Business Unit free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.