Skip to main content
POST
/
hubs
/
{hub_id}
/
manage_items
cURL
curl --request POST \
  --url https://api.box.com/2.0/hubs/{hub_id}/manage_items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'box-version: <box-version>' \
  --data '
{
  "operations": [
    {
      "action": "add",
      "item": {
        "type": "file",
        "id": "42037322"
      }
    }
  ]
}
'
{
  "operations": [
    {
      "action": "add",
      "item": {
        "type": "file",
        "id": "42037322"
      },
      "status": 200,
      "error": "Item not found"
    }
  ]
}
Learn more about Box SDK versioning strategy.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

box-version
enum<string>
required

Version header.

Available options:
2025.0

Path Parameters

hub_id
string
required

The unique identifier that represent a hub.

The ID for any hub can be determined by visiting this hub in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/hubs/123 the hub_id is 123.

Body

application/json

Request schema for managing Box Hub items.

operations
Box Hub Item Operation · object[]

List of operations to perform on Box Hub items.

Response

Retrieves the status of all the operations.

Response schema for the status of Box Hub items management operations.

operations
Box Hub Item Operation Result · object[]
required

List of operations performed on Box Hub items.