Skip to main content

Overview

API keys authenticate your server-side applications with the AgentWallex API. Each key starts with the awx_ 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

  1. Log in to the AgentWallex Dashboard.
  2. Navigate to Settings > API Keys.
  3. Click Create API Key.
  4. Give the key a descriptive name (e.g., production-backend, staging-ci).
  5. Copy and securely store the key — it is only shown once.

Via API

The full API key is only returned once at creation time. Store it immediately in a secure secrets manager.

Listing API Keys

The response includes key metadata but never the full key value:

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:
Rotate API keys at least every 90 days. Set a calendar reminder or automate rotation with your CI/CD pipeline.

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_at to 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 .env files on disk.