Roblox Opens Inventory API to Open Cloud Authentication

Developers can now use API keys or OAuth 2.0 instead of cookie-based auth to read user inventories, collectibles, and asset ownership across eight Inventory API endpoints.

THE SHORT ANSWER

Roblox has enabled Open Cloud authentication on its Inventory API, letting developers replace cookie-based calls with API keys generated in Creator Hub. Eight v1 and v2 endpoints are affected. OAuth 2.0 support is coming soon. Rate limits remain unchanged from cookie auth.

  • Open Cloud API keys and OAuth 2.0 now work on all Inventory API endpoints
  • Cookie authentication is no longer required for inventory reads
  • Eight endpoints across v1 and v2 are covered, including collectibles, badges, game passes, and asset ownership checks
  • API keys are created in Creator Dashboard with 'inventory' read permission
  • OAuth 2.0 support is planned for a future update
  • Rate limits match the previous cookie-based limits

Authentication Shift for Inventory Reads

Roblox has flipped the switch on Open Cloud authentication for the Inventory API. Starting December 4, 2026, developers can call inventory endpoints using an Open Cloud API key or, soon, OAuth 2.0 tokens — no more cookie scraping or manual CSRF handling. The change applies to eight endpoints spanning both v1 and v2 namespaces, covering user assets, collectibles, badges, game passes, bundles, place inventories, and asset ownership lookups.

Affected Endpoints

The following routes now accept the x-api-key header:

  • GET /v1/users/{userId}/assets/collectibles
  • GET /v1/users/{userId}/can-view-inventory
  • GET /v1/users/{userId}/items/{itemType}/{itemTargetId}
  • GET /v1/users/{userId}/items/{itemType}/{itemTargetId}/is-owned
  • GET /v1/users/{userId}/places/inventory
  • GET /v2/assets/{assetId}/owners
  • GET /v2/users/{userId}/inventory
  • GET /v2/users/{userId}/inventory/{assetTypeId}

These endpoints return the same payloads as before; only the authentication method changes.

Creating an API Key

  1. Open Creator Hub → Creator Dashboard.
  2. Click Create API key.
  3. Under Access Permissions, select inventory as the API and read as the operation.
  4. Generate the key and copy it — you won't see it again.
  5. Add the header x-api-key: YOUR_KEY to each request.

The key inherits the same rate limits that applied to cookie-based calls. Roblox points developers to the "API Rate Limit Tuning" announcement for current numbers.

OAuth 2.0 on the Horizon

OAuth 2.0 support is listed as "coming soon." The app registration flow documented in the Open Cloud auth guide will let server-to-server integrations exchange client credentials for short-lived access tokens, useful for CI pipelines or multi-tenant tooling.

In-Experience Limitations

A forum question clarified that these HTTP endpoints cannot be called directly from HttpService inside a running experience, even with a key stored in the Secrets API. For in-game ownership checks, the existing Lua APIs — MarketplaceService:PlayerOwnsAssetAsync, PlayerOwnsBundleAsync, and related methods — remain the supported path and require no API key.

Migration Checklist

  • Replace cookie headers with x-api-key on all external inventory calls.
  • Rotate any stored cookies out of secrets managers.
  • Verify rate-limit behavior matches expectations; monitor 429 responses during rollout.
  • Watch the Open Cloud docs for the OAuth 2.0 launch announcement if your stack prefers token exchange over static keys.

The move aligns Inventory API with the rest of the Open Cloud surface, giving developers a consistent, auditable auth model across user data, groups, and economy endpoints.

KEEP READING

More from this desk