Obtaining API Keys
- Log in to the Admina dashboard
- Select Settings from the top-right user settings menu
- Choose API Keys in the left navigation menu
- Click the Create New API Key button
- Enter a name for the API key and set an expiration date if necessary
- Click the Create button to generate the API key
- Copy and save the displayed API key in a secure location
The API key is displayed only once. Be sure to save it in a secure location.
Adding Authentication to Requests
All API requests must include the API key as a Bearer token in the Authorization header.Header Format
Example with cURL
Example with JavaScript
Security Best Practices
- Do not embed API keys in source code or client-side code
- Use environment variables or secret management systems to manage API keys
- Delete API keys that are no longer needed
- Consider rotating API keys regularly
- Monitor for API access from unexpected locations

