Cloud

InventoryItem

Attributes

pathstring

One of
assetDetailsobject

badgeDetailsobject

gamePassDetailsobject

privateServerDetailsobject

Base URL

https://apis.roblox.com/cloud
The InventoryItem Resource

{
"path": "users/3725356332/inventory-items/VVNFUl9BU1NFVF9JRD0xNzM0MTM3ODE3MjA",
"assetDetails": {
"assetId": "12928981934",
"inventoryItemAssetType": "INVENTORY_ITEM_ASSET_TYPE_UNSPECIFIED",
"instanceId": "173413781720",
"collectibleDetails": {
"itemId": "521cca19-75bb-4e05-a0af-633b1532c24d",
"instanceId": "a8a27d38-ee51-4cf4-8b0a-485d0dfd8607",
"instanceState": "COLLECTIBLE_ITEM_INSTANCE_STATE_UNSPECIFIED",
"serialNumber": 160
}
}
}

List Inventory Items

GET /v2/users/{user}/inventory-items
RequestPath Parameters
userstringRequired

Query Parameters
maxPageSizenumber

pageTokenstring

filterstring

Response
inventoryItemsarray<InventoryItem>

nextPageTokenstring

GET /v2/users/{user}/inventory-items

curl --include --location -X GET "https://apis.roblox.com/cloud/v2/users/{user}/inventory-items?maxPageSize=10&pageToken=<string>&filter=<string>" \
--header "x-api-key: <api-key>"
Response

{
"inventoryItems": [
{
"path": "users/3725356332/inventory-items/VVNFUl9BU1NFVF9JRD0xNzM0MTM3ODE3MjA",
"assetDetails": {
"assetId": "12928981934",
"inventoryItemAssetType": "INVENTORY_ITEM_ASSET_TYPE_UNSPECIFIED",
"instanceId": "173413781720",
"collectibleDetails": {
"itemId": "521cca19-75bb-4e05-a0af-633b1532c24d",
"instanceId": "a8a27d38-ee51-4cf4-8b0a-485d0dfd8607",
"instanceState": "COLLECTIBLE_ITEM_INSTANCE_STATE_UNSPECIFIED",
"serialNumber": 160
}
}
}
],
"nextPageToken": "string"
}