Skip to main content
All requests to the Wirebox Core API (api.wirebox.sh) require an API key passed in the standard HTTP Authorization header:

Obtaining an API Key

API keys can be generated from the Wirebox Console:
  1. Go to Settings & Keys in the navigation sidebar.
  2. Click Create API Key.
  3. Choose a descriptive name (e.g., Production Agent Worker).
  4. Copy the secret key immediately. For security, plaintext keys are only displayed once upon generation.
Wirebox stores only a salted SHA-256 hash of your API key in the database.

Key Scopes & Hierarchy

Wirebox supports two levels of API key scoping:

Example: Testing Your Key

Run a quick GET /me check to verify your API key and retrieve your organization details:
cURL
Response (200 OK):

Security Best Practices

Never expose your API key in client-side code, public GitHub repositories, or browser environments. Always inject your keys using environment variables (WIREBOX_API_KEY) on your backend servers.
  • Rotation: If a key is accidentally leaked, revoke it immediately from the Console. Active keys are revoked in real time without downtime for other keys.
  • Least Privilege: When deploying standalone agents or subagents, use agent-scoped keys to limit blast radius.