Skip to main content
All Streampixel API endpoints require an API key for authentication. Where the key goes depends on the request method:
Never put the key in a URL. Query-string keys (?apikey=) are rejected with 400 API_KEY_IN_QUERY — URLs end up in access logs, browser history, and Referer headers. If a key has ever been sent in a URL, treat it as compromised and rotate it from the dashboard.

Generate an API key

1

Log in to the dashboard

Go to dashboard.streampixel.io and sign in.
2

Open your account menu

Click your account name in the top-right corner.
3

Request the key

Click the Request API Key button.
4

Check your email

The key is sent to your registered email address.
Your API key is shown only once. Copy and store it securely — you won’t be able to view it again.
Requesting a new API key automatically invalidates the previous one. Any integration still using the old key will stop working immediately.

Use the API key

For POST endpoints, include apiKey in the JSON body. For GET endpoints, send the x-api-key header (see the List Projects page for GET examples):

Authentication errors

Receiving a 401? Generate a new API key from the dashboard and update your integration.

Security best practices

  • Never expose your API key in frontend code, public repos, or client-side bundles.
  • Store it in environment variables or a secrets manager.
  • Rotate the key periodically by requesting a new one from the dashboard.
  • The API only accepts HTTPS — there is no HTTP fallback.

Next steps

Find your IDs

Locate your userId and projectId in the dashboard.

Upload a build

Submit your first build with the API key you just generated.