Authorization header.
Creating an API Key
You can generate API keys from your Antei dashboard: Settings → Integrations → Create API Key There are two types of keys available:- Live Key – Use for real transactions in production
- Sandbox Key – Use for testing in a non-production environment
Treat your API keys like passwords. Never expose them in public codebases or client-side code.
Base URLs
| Environment | Base URL |
|---|---|
| Live | https://api.antei.com |
| Sandbox | https://sandbox.antei.com |
Authorization Header
Add the following header to every API request:YOUR_API_KEY with your actual key.
Error Handling
If your API key is missing or invalid, the API will return a:- 401 Unauthorized – when the token is missing or incorrect
- 403 Forbidden – if the key doesn’t have permission for the requested resource