API Keys
API keys let bot users access Nico programmatically — for the CLI tool, Claude Code skill, or custom integrations.How API keys work
- API keys are tied to bot users (not regular accounts)
- Each key has an expiration date — keys stop working after they expire
- Keys can be revoked at any time
- Keys support scopes to limit what they can access
- The raw key is only shown once at creation — store it securely
Creating an API key
Create a bot user
A team owner creates a bot user for your account. Bot users are special accounts designed for automated access.
Generate a key
Go to Security in the bot user’s settings and click Create API Key.
- Enter a name for the key (e.g., “Claude Code skill”)
- Set an expiration date
- Select the scopes the key should have
Using an API key
Set the key as an environment variable:Managing keys
Viewing active keys
Go to Security in your account settings to see all API keys, their names, expiration dates, and status.Revoking a key
Click Revoke next to any key to immediately disable it. Revoked keys cannot be reactivated — create a new one instead.Key expiration
All API keys have a mandatory expiration date. When a key expires:- It stops working immediately
- The CLI and any integrations using it will return authentication errors
- Create a new key to restore access
Security best practices
- Set short expiration dates and rotate keys regularly
- Use the minimum required scopes for each key
- Revoke keys you no longer need
- Use separate keys for different integrations so you can revoke them independently