Getting an API key
- Log in at pioneer.ai.
- Go to Settings → API Keys.
- Click Create key, give it a name, and copy the value shown.
PIONEER_API_KEY) rather than hard-coding it in source files.
Passing your API key
Include your key in theX-API-Key header on every request:
cURL
Managing keys
Create new API keys from Settings -> API Keys in the Pioneer dashboard. API-key-authenticated requests can list and revoke keys, but cannot create more keys.Create a key
POST /create-api-key is used by the web dashboard and requires a browser session. Calls authenticated with X-API-Key return 403 Forbidden with the message API key creation is only allowed from the web dashboard.
The creation response includes the new secret_key value. Copy it immediately — it is not shown again.
List keys
cURL
Revoke a key
cURL
Testing connectivity before you have a key
To verify your network can reach the Pioneer API during integration, send a request with a placeholder key. You’ll get a401 back — which confirms the endpoint is reachable and your request is wired correctly.