API Authentication

How to generate and manage your Streampixel API key.

All Streampixel API endpoints require an API Key for authentication. The key is passed in the request body (not as a header).

Generating Your API Key

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

  2. Click the "Request API Key" button

  3. The API key will be sent to your registered email address

triangle-exclamation
circle-exclamation

Using Your API Key

Include the apiKey field in the JSON body of every API request:

curl -X POST https://api.streampixel.io/pixelStripeApi/projects/upload-file \
  -H "Content-Type: application/json" \
  -d '{
    "apiKey": "your-api-key-here",
    "userId": "your-user-id",
    "projectId": "your-project-id",
    "fileUrl": "https://storage.example.com/build.zip"
  }'

Error Responses

Status
Message
Cause

401

Unauthorized: Invalid API Key

The API key is wrong or has been invalidated

401

Invalid User

The userId doesn't match any account

circle-info

If you receive a 401 error, generate a new API key from the dashboard and update your integration.

Security Best Practices

circle-check

Last updated