Authentication¶
Security
Bearer Token
AAJ's API uses API Keys for authentication. You must include your API key in the Authorization header of every request.
Obtaining an API Key¶
API Keys are managed exclusively through the AAJ Partner Portal to ensure security. You cannot generate API keys programmatically.
Steps to generate your key¶
- Log in to your AAJ Partner Portal account.
- Navigate to Settings > API Management.
- Click on Generate New Key.
- Give your key a label (e.g., "Production App", "Testing").
- Copy the generated key immediately.
Important
Store your API key securely. For security reasons, it will not be shown again after you close the generation window. If you lose your key, you will need to generate a new one.
Using the API Key¶
Include the API key in the Authorization header as a Bearer token for all API requests.
Authorization: Bearer aaj-f4c965343c029041003018a80487ce78...rest_of_your_api_key
Key Expiration¶
API keys may have an expiration date depending on your account settings. You can view the status and expiration of your active keys in the Partner Portal.