Accessing user-created T-Shirts and Gamepasses via the API

The title is pretty straightforward, but I want to get a list of created T-Shirts by a user using the Roblox API and a list of created Gamepasses by a user using the Roblox API.

This is for an external application, not directly into Roblox.

I don’t know if its possible from raw Roblox APIs, if you have to use Proxies or if its even a thing?

Thanks.

1 Like

You can try using this

https://inventory.roblox.com/docs#!/Inventory/

2 Likes

Yea your going to have to use the Inventory APIs with a proxy as mentioned above^^. Note that this will not work if the player has a private inventory, and it is impossible to get gamepasses / shirts they made when their inventory is private. This works because when you make a gamepass / shirt you automatically own it as the creator, so you just fetch all the gamepasses / items and check to see if they are the creator of that item.

2 Likes

How can I checked if they are the creator? IsOwned would not work in this case

2 Likes

Check the owner Via the the Items ID. I don’t work with proxy’s, but I do know Roblox Lua code and as long as you have the Asset ID you can use MarketplaceService:GetProductInfo() and check the creator all within Roblox Lua code scripts

Roblox Docs on product info:

2 Likes

I’ve mentioned this though;

Not directly in Roblox.

1 Like

I’m not sure, but here are places I would look. Again sorry, but I don’t work too much in proxy and using these APIs

From posts I have seen, It seems like you’ll want to make another API call and Instead of the inventory APIs, making a call to the catalog API to get the information you need for the asset and check if they are the creator.

https://catalog.roblox.com/docs#!/v1

Hope this helps.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.