---
name: "Inventories"
last_updated: 2026-12-04T23:21:52Z
type: feature
api_base_url: "https://apis--roblox--com.github.com"
endpoints: 1
legacy_endpoints: 8
auth: [api-key, oauth2, cookie]
description: "Access user inventories to verify ownership and display player collections"
---

# Inventories

Access user inventories to verify ownership and display player collections. For detailed implementation details, see the [Inventory guide](/docs/en-us/cloud/guides/inventory.md).

You can [retrieve and check](#Cloud_ListInventoryItems) if a user owns specific items, like limiteds, badges, passes, or private servers.

To list the assets a user created or owns, such as decals, models, audio, or meshes, [list their inventory items](#Cloud_ListInventoryItems) filtered by asset type.

**Base URL:** `https://apis--roblox--com.github.com`

## Authentication

Each endpoint requires one of the following authentication methods:

- **API Key**: Pass your key in the `x-api-key` HTTP header. Create keys at [Creator Dashboard](https://create--roblox--com.github.com/dashboard/credentials).
- **OAuth 2.0**: Use Bearer token in the `Authorization` header. Authorization URL: `https://apis--roblox--com.github.com/oauth/v1/authorize`, Token URL: `https://apis--roblox--com.github.com/oauth/v1/token`
- **Cookie** *(not recommended)*: `.ROBLOSECURITY` cookie. Do not use in production.

```
# API Key example
curl -H "x-api-key: YOUR_API_KEY" https://apis--roblox--com.github.com/...

# OAuth 2.0 example
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://apis--roblox--com.github.com/...
```

## Endpoint index

Every endpoint in this feature. Endpoints marked *(legacy page)* are deprecated, have a recommended replacement, are served from a legacy domain instead of the base URL, or accept only cookie authentication. They are documented on [Inventories (legacy)](/docs/cloud/reference/features/inventories-legacy.md).

- GET /cloud/v2/users/{user_id}/inventory-items — List Inventory Items
- POST inventory--roblox--com.github.com/v1/collections/items/{itemType}/{itemTargetId} — Adds an item to the appropriate collection *(legacy page)*
- DELETE inventory--roblox--com.github.com/v1/collections/items/{itemType}/{itemTargetId} — Removes an item to the appropriate collection *(legacy page)*
- GET inventory--roblox--com.github.com/v1/packages/{packageId}/assets — Given a package ID, returns the list of asset IDs for that package *(deprecated, legacy page, use `GET https://catalog--roblox--com.github.com/v1/bundles/{bundleId}/details`)*
- GET inventory--roblox--com.github.com/v1/users/{userId}/assets/collectibles — Gets all collectible assets owned by the specified user. *(legacy page)*
- GET inventory--roblox--com.github.com/v1/users/{userId}/categories — Return inventory categories for a user *(legacy page)*
- GET inventory--roblox--com.github.com/v1/users/{userId}/items/{itemType}/{itemTargetId}/is-owned — Gets whether a user owns an item of type itemType with id itemTargetId. *(legacy page)*
- GET inventory--roblox--com.github.com/v1/users/{userId}/places/inventory — Gets Created, MyGames, or OtherGames places inventory for a user *(legacy page)*
- GET inventory--roblox--com.github.com/v2/users/{userId}/inventory/{assetTypeId} — Gets user's inventory based on specific asset type *(legacy page, use `GET https://apis--roblox--com.github.com/cloud/v2/users/{user_id}/inventory-items`)*

## Endpoints

### GET /cloud/v2/users/{user_id}/inventory-items

List Inventory Items

List the inventory items in a user's inventory.
            
Only items the user owns are listed. Assets owned by a group the user belongs to aren't included.
`DECAL` items are decal IDs. Texture properties such as `Decal.Texture` need the decal's image ID.
            
The inventory items returned depend on the target user’s choice under
**Settings > Privacy > Who can see my inventory?**:
* If the user granted inventory visibility to "Everyone," then any API key
or OAuth2 token can be used to view the target’s inventory, no matter what
scopes it has or who created it.
* If the user has not granted inventory visibility to "Everyone":
  * Their inventory can still be viewed with an API key created by the
  target user with **Inventory: Read** permission.
  * Their inventory can still be viewed with an OAuth2 token if the target
  user authorizes an app requesting permissions for the
  `user.inventory-item:read` scope.

**Auth:** API Key (`x-api-key` header) or OAuth 2.0 Bearer token

**Scopes:** `user.inventory-item:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `user_id` | path | `string` | Yes | The user ID. |
| `maxPageSize` | query | `integer` | No | The maximum number of inventory items to return. The service might return              fewer than this value. If unspecified, at most 10 inventory items are              returned. The maximum value is 100 and higher values are set to 100. |
| `pageToken` | query | `string` | No | A page token, received from a previous call, to retrieve a subsequent page.                           When paginating, all other parameters provided to the subsequent call must              match the call that provided the page token. |
| `filter` | query | `string` | No | This field may be set in order to filter the resources returned.                           See the              [filtering](/docs/en-us/cloud/reference/patterns.md#list-inventory-items)              documentation for more information. |

**Responses:**

- `200`: OK → `ListInventoryItemsResponse`

**Response fields** (`ListInventoryItemsResponse`)

See [ListInventoryItemsResponse](#listinventoryitemsresponse) in Models.

**Response example:**
```json
{
  "inventoryItems": [
    {
      "path": "...",
      "assetDetails": "...",
      "badgeDetails": "...",
      "gamePassDetails": "...",
      "privateServerDetails": "...",
      "addTime": "..."
    }
  ],
  "nextPageToken": "string"
}
```

**Rate Limits:** perApiKeyOwner: 100/minute, perOauth2Authorization: 20/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/users/{USER_ID}/inventory-items"
```

## Models

### ListInventoryItemsResponse

A list of InventoryItems in the parent collection.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `inventoryItems` | `InventoryItem[]` | No | The InventoryItems from the specified User. |
| `nextPageToken` | `string` | No | A token that you can send as a `pageToken` parameter to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### InventoryItem

Represents an item in a user's inventory.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `path` | `string` | No | The resource path of the inventory item.              Format: `users/{user_id}/inventory-items/{inventory_item_id}` |
| `assetDetails` | `InventoryItem_AssetDetails` | No | Populated if this item is an asset. |
| `badgeDetails` | `InventoryItem_BadgeDetails` | No | Populated if this item is a badge. |
| `gamePassDetails` | `InventoryItem_GamePassDetails` | No | Populated if this item is a game pass. |
| `privateServerDetails` | `InventoryItem_PrivateServerDetails` | No | Populated if this item is a private server. |
| `addTime` | `string` | No | The time when the item was added to the user's inventory. For example, the time when the user purchased a private server or was awarded a badge.              This field is currently not populated for passes. |

### InventoryItem_AssetDetails

Specific fields only applicable to assets

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `assetId` | `string` | No | A unique ID that identifies an asset. |
| `inventoryItemAssetType` | `string enum (53 values)` | No | The specific asset type of this item. Values: INVENTORY_ITEM_ASSET_TYPE_UNSPECIFIED, CLASSIC_TSHIRT, AUDIO, HAT, MODEL, CLASSIC_SHIRT, CLASSIC_PANTS, DECAL, CLASSIC_HEAD, FACE, GEAR, ANIMATION, TORSO, RIGHT_ARM, LEFT_ARM, LEFT_LEG, RIGHT_LEG, PACKAGE, PLUGIN, MESH_PART, HAIR_ACCESSORY, FACE_ACCESSORY, NECK_ACCESSORY, SHOULDER_ACCESSORY, FRONT_ACCESSORY, BACK_ACCESSORY, WAIST_ACCESSORY, CLIMB_ANIMATION, DEATH_ANIMATION, FALL_ANIMATION, IDLE_ANIMATION, JUMP_ANIMATION, RUN_ANIMATION, SWIM_ANIMATION, WALK_ANIMATION, POSE_ANIMATION, EMOTE_ANIMATION, VIDEO, TSHIRT_ACCESSORY, SHIRT_ACCESSORY, PANTS_ACCESSORY, JACKET_ACCESSORY, SWEATER_ACCESSORY, SHORTS_ACCESSORY, LEFT_SHOE_ACCESSORY, RIGHT_SHOE_ACCESSORY, DRESS_SKIRT_ACCESSORY, EYEBROW_ACCESSORY, EYELASH_ACCESSORY, MOOD_ANIMATION, DYNAMIC_HEAD, CREATED_PLACE, PURCHASED_PLACE |
| `instanceId` | `string` | No | A unique ID that identifies an instance or "copy" of the asset that's owned by a user. |
| `collectibleDetails` | `InventoryItem_CollectibleDetails` | No | Additional details if this asset is a collectible. Otherwise, this attribute will be omitted. |

### InventoryItem_BadgeDetails

Specific fields that are applicable to a badge.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `badgeId` | `string` | No | A unique ID that identifies a badge. |

### InventoryItem_GamePassDetails

Specific fields that are applicable to a game pass.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gamePassId` | `string` | No | A unique ID that identifies a game pass. |

### InventoryItem_PrivateServerDetails

Specific fields that are applicable to a private server.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `privateServerId` | `string` | No | A unique ID that identifies a private server. |

### InventoryItem_CollectibleDetails

Specific fields that are applicable to a collectible.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `itemId` | `string` | No | A unique ID of a Roblox item that is a collectible. |
| `instanceId` | `string` | No | A unique ID of an individual copy of a collectible with ownership tied to a group or user. |
| `instanceState` | `COLLECTIBLE_ITEM_INSTANCE_STATE_UNSPECIFIED \| AVAILABLE \| HOLD` | No | The instance state of this specific Collectible Item Instance which affects whether it can be resold or traded. |
| `serialNumber` | `integer` | No | If the asset is a Limited, a user-visible number that shows this item is the nth replica of the asset. Otherwise, this attribute will be omitted. |