To access the Antei API, all requests must be authenticated using an API key. We use Bearer Token authentication, which is passed via the 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

EnvironmentBase URL
Livehttps://api.antei.com
Sandboxhttps://sandbox.antei.com

Authorization Header

Add the following header to every API request:

Authorization: Bearer YOUR_API_KEY

Make sure to replace 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

Ensure you’re using the correct environment-specific key and that the scopes are valid.