Authenticate
Use your API key to authenticate with Cubeo AI's APIs.
API keys are tokens used to control access to the API. Cubeo AI expects the API key to be included in all requests to the server, within an Authorization
header:
Authorization: Api-Key YOUR_API_KEY // Replace *YOUR_API_KEY* with your API key
Managing keys
You can manage API keys in the Cubeo AI App:
- Click on Profile to navigate to your Profile page.
- Scroll down to the API Keys section
You can also revoke (delete) existing API keys, and create new keys.
info
When creating new keys, you'll see them only once. Make sure you copy the key and save it in a safe place.
Tips and traps
- Keep the API key secret and ensure it is not available in publicly accessible areas, such as GitHub and client-side code.
- We recommend you insert the API key at release time, and minimize the number of people at your organization with access to them.