Create an API key
API keys are created in the dashboard, by an admin, under Roles & Access.Open the API Keys tab
Go to Roles & Access → API Keys. You’ll need the Admin role — only admins can manage keys.
Create the key
Click Create API key, give it a recognisable name (e.g. Billing export script), and optionally set an expiry. Leave the expiry blank for a key that never expires.
neo_sk_, the environment, then a random secret:
Authenticate a request
Send the key in theAuthorization header as a bearer token:
Rotating and revoking keys
Manage existing keys from the same API Keys tab:| Action | What happens |
|---|---|
| Rotate | Issues a fresh key immediately and keeps the current key working for 24 hours, so you can roll it out without downtime. After 24 hours the old key stops working. |
| Revoke | Disables the key immediately and permanently. Any integration still using it stops working at once. |
Security best practices
- Store keys in a secrets manager or your platform’s environment configuration — never commit them to source control.
- Don’t embed keys in browsers, mobile apps, or anything a customer could inspect — the API is for server-to-server use.
- Rotate on a schedule, and immediately if a key may have leaked.
- Set an expiry on keys meant to be short-lived.
Keys can’t create other keys — minting and rotating keys is an admin-only dashboard action. The dashboard itself signs in with your Microsoft account rather than an API key; API keys are for your own scripts and integrations.
What’s next
Make your first request
List your agents and read the response envelope.
