How do I get an API key for my games?

Open Settings → Organizer tools → API keys (/settings/api-keys/) and create a key yourself, no need to write to support. This is available only if you organize at least one game or league. Otherwise you will see “API keys are available to organizers. Create a game or a league first.”

To create a key: enter a name, tick “I agree to the API terms” and press Create. The key looks like pbo_. and is shown only once, so copy it right away with the copy button. Playbox stores only a hash and cannot show the key again. If you lose it, revoke it and create a new one.

You can have up to 5 active keys and revoke any of them at any time. Revoking works immediately. Each key is valid for 365 days. Send the key in the X-Api-Key header, from your server only. Full docs: https://play-box.xyz/help/developers/organizer-api/

Was this helpful?