Key types
Send the developer API key as
Authorization: ApiKey {key} — not as a bearer token. It works,
for the games you own and within the permissions the key was created with, on:
- reading your games, their versions, their Addressables state and their Editor Simulator configuration;
- the analytics dashboard;
- the build upload endpoints, and preview and share links for a build;
- the Addressables upload, publish and rollback endpoints.
spdk_.
Rules
Game key goes in the client. Never put the developer API key inside game code — it has wider permissions than the game key. In Unity the game key lives in thePlatformConfig asset, created via SusaPlay →
Setup. SusaPlaySDK.Initialize() reads it from there.
Assets/Resources/PlatformConfig.asset; an asset anywhere else is
not found. To test before players see a build, keep the game private or use
Preview and Share links.
Permissions
Each key holds only the permissions you choose when you create it.
A request that needs a permission the key does not hold is refused with
403 and the code
INSUFFICIENT_SCOPE. The response names the missing permission in requiredScope.
When you create a key, pick a preset or choose the permissions yourself:
Limits
Each key may make, per minute, 120 reads, 30 writes, 20 upload-URL requests and 10 analytics requests. Over a limit, the API answers429 with the code RATE_LIMITED and a Retry-After
header: wait that many seconds and retry. The Addressables batch endpoints sign up to 250 files a
call, so a pipeline that uses them stays well within the limits.
Create a key
- Developer Portal → API Keys
- Click Create key
- Give the key a name that says where it is used, such as “GitHub Actions” or “Cursor — laptop”
- Pick a preset, or Custom to choose the permissions
- Click Create key and copy the key immediately — it is shown once
Revoke a key
In API Keys, click Revoke next to the key, then Revoke now. The key stops working on its next request, and revoking cannot be undone. To rotate a key, create a new one, update your pipeline or tool, then revoke the old one. Developer API keys created before October 2026 (starting withpk_) no longer work. Create a new
key in their place. Partner keys, sent as Authorization: PartnerKey, are separate and keep
working.
If a key is exposed
- Revoke it in the Developer Portal — the exposed key stops working at once
- Create a new key and update the secret in every pipeline and environment that used the old one
