Overview
API keys authenticate your server-side applications with the AgentWallex API. Each key starts with theawx_ prefix and is tied to your account.
Creating API Keys
Create API keys through the dashboard or the REST API (requires JWT authentication):Via Dashboard
- Log in to the AgentWallex Dashboard.
- Navigate to Settings > API Keys.
- Click Create API Key.
- Give the key a descriptive name (e.g.,
production-backend,staging-ci). - Copy and securely store the key — it is only shown once.
Via API
Listing API Keys
Rotating API Keys
1
Create a new key
Create a new API key via the dashboard or API.
2
Update your application
Deploy the new key to your application’s environment variables.
3
Verify the new key works
Confirm that API calls succeed with the new key.
4
Delete the old key
Remove the old key to prevent unauthorized access:
Rate Limits
API rate limits depend on your plan tier:
When you exceed the rate limit, the API returns a
429 Too Many Requests response with a Retry-After header:
Rate limits are applied per API key. If you need higher limits, contact the AgentWallex team or upgrade your plan.
Best Practices
- One key per environment — Use separate keys for development, staging, and production.
- Name keys descriptively — Include the environment and service name (e.g.,
prod-payment-service). - Monitor usage — Check
last_used_atto identify unused keys that should be deleted. - Never share keys — Each team member or service should have its own key.
- Use a secrets manager — Store keys in AWS Secrets Manager, HashiCorp Vault, or similar tools rather than in
.envfiles on disk.