Documentation Index
Fetch the complete documentation index at: https://docs.agentwallex.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Methods
AgentWallex supports two authentication methods:| Method | Header | Use Case |
|---|---|---|
| API Key | X-API-Key: awx_... | SDK and server-to-server integrations |
| JWT Bearer Token | Authorization: Bearer eyJ... | Web app, OAuth, and dashboard sessions |
API Key Authentication
API keys are the recommended approach for server-side and SDK integrations. Every key starts with theawx_ prefix.
Environment Variables
Store your API key as an environment variable:JWT Bearer Token Authentication
For web applications and OAuth flows, use JWT bearer tokens. Tokens are obtained through the Google OAuth flow:Refreshing Tokens
Access tokens expire. Use the refresh token to obtain a new access token:Logout
Invalidate the current session:Security Best Practices
- Use environment variables — Never hardcode API keys in source code.
- Rotate keys regularly — Rotate API keys at least every 90 days. See API Keys for rotation instructions.
- Use the minimum scope needed — Create separate API keys per environment (sandbox vs. production).
- Enable IP allowlisting — Available on Growth and Enterprise plans to restrict API access to known IPs.
- Monitor audit logs — Review authentication events in the dashboard or via
GET /audit-logs. - Use sandbox for development — Never test with production keys or real funds.