Getting Your API Key
- Log in to your anyformat account
- Navigate to the Settings page to generate a new API key and copy it. For security reasons, the API key will only be displayed once.
Using Your API Key
Include your API key in thex-api-key request header for all API requests:
Our backend normalizes HTTP headers, so any casing will be handled properly as long as the header is a known HTTP header.
Public Endpoints
The following endpoints do not require API key authentication:/- API root/health/- Health check/schema/- OpenAPI schema/docs/- Swagger UI documentation
Revoking a Key
Generate a new key to automatically revoke the old one.
Security Best Practices
- Never share your API key - Treat it like a password
- Rotate keys periodically - Generate new keys on a regular schedule
- Use environment variables - Store keys in environment variables in production
- Monitor key usage - Watch for suspicious activity in your account
- Never expose in client-side code - API keys should only be used server-side
If you need to generate a new API key or suspect your key has been compromised, visit the settings page in your anyformat app immediately.
