Authentication
Nexio uses API key authentication for all programmatic access to the API. Keys are created and managed in the Nexio dashboard.API Key Header
Include your API key in theX-API-Key header on every request:
Key Types
| Prefix | Environment | Billing | Notes |
|---|---|---|---|
nx_live_ | Production | Billed | Full access, real data |
nx_test_ | Sandbox | Not billed | Same endpoints, test data only |
nx_test_ keys during development and testing. Switch to nx_live_ when you go to production.
Creating API Keys
- Sign in to platform.usenexio.com
- Go to Settings → API Keys
- Click Create Key
- Give the key a descriptive name (e.g.,
production-backend,ci-testing) - Copy the key value — it is shown only once
If you lose a key, revoke it immediately and create a new one. Nexio cannot recover or re-display key values after creation.
Revoking Keys
To revoke a key:- Go to Settings → API Keys in the dashboard
- Find the key and click Revoke
401 Unauthorized response.
Dashboard Authentication
The Nexio dashboard uses a separate session-based authentication system (WorkOS). Dashboard access does not grant API access and vice versa. To use the API programmatically, you always need an API key — not dashboard credentials.Error Responses
If your key is missing, invalid, or revoked, the API returns:401 Unauthorized.
If your key is valid but doesn’t have access to a specific resource, you’ll receive:
403 Forbidden.