Skip to main content
Every request to the Pioneer API must include your API key. Pioneer uses a simple header-based scheme — no OAuth flow or token exchange required. Your key identifies you and determines which resources and rate limits apply to your requests.

Getting an API key

  1. Log in at pioneer.ai.
  2. Go to SettingsAPI Keys.
  3. Click Create key, give it a name, and copy the value shown.
Store your key in an environment variable (for example PIONEER_API_KEY) rather than hard-coding it in source files.

Passing your API key

Include your key in the X-API-Key header on every request:
cURL

Managing keys via the API

You can create, list, and revoke keys programmatically using the key management endpoints.

Create a key

cURL
The response includes the new key value. Copy it immediately — it is not shown again.

List keys

cURL
Returns all keys associated with your account, including their names and creation dates. Key values are not returned in list responses.

Revoke a key

cURL
Revoked keys are rejected immediately on the next request. There is no undo.

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 a 401 back — which confirms the endpoint is reachable and your request is wired correctly.

Error responses

A 402 response means your account is out of credits. Requests will continue to fail until you add credits or upgrade your plan. See Plans & Pricing for your options.