Skip to main content
To retrieve details for a single Box Hub, call the endpoint with the hub’s ID. You can find the hub ID in the Box Hubs web interface URL (for example, https://*.app.box.com/hubs/12345 has hub ID 12345).
Box Hubs endpoints require the box-version: 2025.0 header. If you omit this header, the API returns a 400 error with the message Missing required box-version header. Supported API versions: [2025.0]. For more information, see Box API versioning strategy.

Get hub by ID

box hubs:get 12345
curl -i -X GET "https://api.box.com/2.0/hubs/HUB_ID" \
     -H "Authorization: Bearer <ACCESS_TOKEN>" \
     -H "box-version: 2025.0"
await client.hubs.getHubByIdV2025R0(hubId);
client.hubs.get_hub_by_id_v2025_r0(hub_id)
await client.Hubs.GetHubByIdV2025R0Async(hubId: hubId);
try await client.hubs.getHubByIdV2025R0(hubId: hubId)
client.getHubs().getHubByIdV2025R0(hubId);
Replace HUB_ID (or hubId / hub_id) with the actual hub ID. A successful response returns the object.
Last modified on April 23, 2026