Authorization header.
API key formats
Free vs live keys
Free
Free, no credit card required.
- 100 lifetime requests
- 14-day key expiry
- Uses real AI models (same accuracy)
- Rate limit: 10 requests/minute
- Perfect for prototyping and testing
Live
Pay-as-you-go with credit packs.
- Unlimited requests (with credits)
- No key expiry (rotate at 90 days recommended)
- Full rate limits by tier
- Webhook support
- Analytics and usage dashboards
Creating API keys
1
Sign in to your account
Go to trynawa.com/developers/keys and sign in with your account.
2
Create a new key
Go to trynawa.com/developers/keys and click Create Key.
3
Copy your key
Your key is displayed once at creation. Copy it immediately and store it securely.
Key rotation
We recommend rotating live keys every 90 days. To rotate without downtime:- Create a new key in the dashboard
- Update your application to use the new key
- Verify requests succeed with the new key
- Revoke the old key
Key revocation
Revoke a key instantly from the dashboard under Settings → API Keys. Revoked keys return a401 authentication_error immediately.
Security best practices
- Never commit keys to source control. Use environment variables or a secret manager.
- Use free keys for development. Reserve live keys for deployed applications.
- Restrict keys by IP (planned) for live workloads.
- Monitor usage in the dashboard to detect unauthorized use.
- Rotate keys every 90 days or immediately if compromised.