Getting a key
Access is granted by an administrator; once you have it, you mint and manage your own keys.
Access is granted, not signed up for#
There is no self-service signup for the ROBLOX Web API. An administrator gives your account access to one or more services, with a rate tier and a limit on how many keys you may hold at once. Without that grant, the key-creation page has nothing to show you.
If you have a project that needs API access, ask one of ROBLOX’s administrators. There is no in-product request flow yet — this is a conversation, not a button.
Creating a key#
Once you hold a grant, keys are yours to create and revoke from your own account — no administrator step per key.
- Open API Keys (your account’s /develop page, “API Keys” tab).
- Optionally label the key with what will use it — a bot, a build script, a game server. Labels are for you; they are never sent anywhere.
- Choose which services the key may reach. Leave every box unticked to let the key use everything your grant currently allows, including a service an administrator adds to your grant later. Tick specific services to freeze the key to just those, regardless of what your grant grows to.
- Submit. The plaintext key is shown exactly once, on the page that follows.
The key is shown once. It is never stored in a form your own account, an administrator, or anyone else can retrieve afterward — only a short hint (enough to recognise it in a list) is kept. Copy it somewhere safe immediately. If you lose it, the fix is the same as a compromised key: revoke it and create another.
What a key looks like#
Every key starts with the same recognisable prefix: rbx_live_ followed by 43 random characters. The prefix is cosmetic but deliberate — a string that announces itself as a credential is one a reviewer recognises in a diff or a paste and revokes, instead of one that looks like any other token.
rbx_live_kZ3n1pQmXeR8... # 43 characters after the prefix, one string, no spacesRevoking a key#
Revoke from the same API Keys tab, any time, for any reason — a key you no longer use, one you suspect leaked, or one you are simply rotating. Revocation is one-way; there is no “un-revoke”, only creating a new key.
Revocation reaches every server within about a minute, not instantly — presented keys are cached per process for up to 60 seconds so a busy key costs one database lookup a minute rather than one per request. The API Keys page says this next to every key for the same reason it is stated here: a revoke that still appears to work for a few more seconds is expected, not a bug.
Treat it like a password#
A key authenticates as your grant, scoped to whatever services you picked when you made it. Handle it accordingly:
- Never embed a key in client-side code shipped to players — a game client, a browser extension, anything that leaves your own server ends up with the key readable by anyone who opens it.
- Never commit a key to a public repository, including in a README, a test fixture, or a commit that was later reverted.
- Prefer one key per deployment or bot over one key shared everywhere — it costs nothing extra and means revoking a compromised key does not also break every other thing you run.
- If a key ever leaks, revoke it first and ask questions after.
The next guide, Authentication, covers exactly how a key is presented on a request.