Skip to main content
Every API request needs two headers: your API key and your project ID. No OAuth, no tokens to refresh.

Required headers

HeaderValue
x-api-keyYour API key from the dashboard
x-project-idYour project UUID from the dashboard
content-typeapplication/json

Example

curl --location 'https://api.zerogpu.ai/v1/responses' \
  --header 'content-type: application/json' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'x-project-id: YOUR_PROJECT_ID' \
  --data '{ ... }'

Where to find credentials

  1. Log in at zerogpu.ai
  2. Select your project
  3. API Key and Project ID are on the dashboard

When it goes wrong

StatusCauseFix
401Missing or invalid API keyCheck x-api-key — did you copy the full key?
403Invalid project ID or wrong permissionsVerify x-project-id matches the dashboard
API keys go in server-side code only. Never in frontend JavaScript, mobile apps, or git repos. See Security.