x-api-key header.
Generate a key
1
Sign in to the dashboard
Open dashboard.streampixel.io and sign in.
2
Open your account menu
Click your account name in the top-right corner.
3
Choose scopes
Tick the scopes the key should have.
Upload and Read are on by default; Control is off and shows a warning, because a control key can take projects offline and end viewers’ sessions.4
Request the key
Click Request API Key. The key is emailed to your registered address and shown once, with its scopes.
5
Copy and store it
Save it in a password manager or secrets store immediately.
Scopes
Scopes are chosen when you request the key and shown under Current key afterwards. They cannot be changed on an existing key: issue a new one with the scopes you need, which replaces the old key.
Use a key in a request
apiKey in the JSON body; see their pages.
Team members and keys
A key can do no more than the person it belongs to:
If a member is removed from the team, their key stops working on that account’s projects immediately.
Rotate a key
Requesting a new key invalidates the previous one at once.1
Generate a new key
Click Request API Key in your account menu.
2
Update your integrations
Replace the old key everywhere it is used: environment variables, CI secrets, deploy configs.
3
Verify
Make a test request. A
401 means an integration still references the old value.Security best practices
- Never commit keys to source control. Use environment variables or a secrets store.
- Server-side only. Do not embed keys in browser bundles, mobile binaries or anything users can decompile.
- Narrowest scopes. A CI pipeline needs
uploadandread; givecontrolonly to the automation that switches projects. - Rotate on suspected exposure. Pushed to a public repository by accident: rotate first, then scrub the commit.