/health uses a Bearer token:
The key
| Property | Value |
|---|---|
| Format | oxi_sk_live_ + 64 hex chars (76 chars total) |
| Storage on our side | HMAC-SHA256 hash. We never store plaintext. |
| Active keys per account | 1. Regenerating revokes the old key. |
| Where to generate | 0xinsider.com/developers |
oxi_sk_live_XXXX) so you can identify it.
Generate a key
- Log in at 0xinsider.com.
- Open Developers.
- Click Generate Key.
- Copy it immediately.
Common mistakes
Missing 'Bearer' prefix in the header
Missing 'Bearer' prefix in the header
Wrong:Right:Without the
Bearer prefix you get 401 invalid_api_key.Pasting only part of the key
Pasting only part of the key
The full key is 76 characters. Anything shorter is a partial copy.
Hitting an authenticated endpoint without a subscription
Hitting an authenticated endpoint without a subscription
A valid key with an expired subscription returns
402 subscription_required. Re-subscribe at pricing; the same key resumes.Reusing an old key after regenerating
Reusing an old key after regenerating
Regenerating revokes the old key in the same call. Update every place it lives:
.env files, deployed secrets, MCP configs.If a key leaks
Treat it like any production secret:- Go to Developers.
- Click Regenerate Key. The old key dies immediately.
- Roll the new key into every consumer: bots, MCP configs, CI secrets, dashboards.
Key management endpoints
These manage your own keys from the dashboard. They use the session cookie (JWT), not an API key, so you can’t call them from a script withoxi_sk_live_....
| Action | Method | Endpoint |
|---|---|---|
| Create key | POST | /api/keys |
| List keys | GET | /api/keys |
| Revoke key | DELETE | /api/keys/{id} |
| Regenerate | POST | /api/keys/regenerate |