API keys authenticate your REST requests. Keys are issued per user and inherit that user’s project access. Pass the key in the JSON body alongside yourDocumentation Index
Fetch the complete documentation index at: https://docs.streampixel.io/llms.txt
Use this file to discover all available pages before exploring further.
userId.
Generate a key
Sign in to the dashboard
Open dashboard.streampixel.io and sign in.
Request the key
Click Request API Key. The key is sent to your registered email address and shown once in the dashboard.
Use a key in a request
Pass it asapiKey in the JSON body — never as an Authorization header. Every call also needs your userId and projectId.
Key scope
A key inherits the access of the user it was generated for:- Account owner — the key works on every project in the account.
- Team member with
FULLaccess — the key works on every project in their access list. - Team member with
READONLYaccess — the key only works for read endpoints on projects in their access list.
Rotate a key
Rotation is one-step: requesting a new key invalidates the previous one.Update your integrations
Replace the old key everywhere it is used — env vars, CI secrets, deploy configs.
Security best practices
- Never commit keys to source control. Use env vars or a secrets store.
- Server-side only. Don’t embed in browser bundles, mobile binaries, or anything users can decompile.
- Rotate on suspected exposure. Accidentally pushed to GitHub → rotate immediately, then scrub the commit.
- Limit teammate scope. Use
READONLYor per-project access — their keys inherit the restrictions.
Troubleshooting
| Status | Message | Cause |
|---|---|---|
401 | Unauthorized: Invalid API Key | Key was rotated, mistyped, or belongs to a different account |
401 | Invalid User | userId does not match the key’s owner |
403 | Forbidden | Key owner has no access to the requested project |
Next steps
API authentication
Full reference for the auth model used by every endpoint.
Find your IDs
Locate
userId and projectId for use in requests.Team members
Control who can issue keys and which projects they cover.
Webhooks
Get push notifications instead of polling the API.