Manage API Keys
Managing and using Mindee API keys.
Overview
API keys are secure credentials that allow your applications to interact with Mindee’s services.
Each key is associated with your organization: usage and billing are tracked accordingly.
Never expose your API keys in a location that is publicly viewable!
Anyone with the key will be able to make API requests impersonating your organization.
An organization can have multiple API keys.
Each API Key grants access to all models within the organization.
API Keys are not tokens, they:
have an unlimited lifetime and must be manually revoked.
do not follow RFC 6750 / OAuth / JWT.
Access the API Key Dashboard
Log in to https://app.mindee.com
On the left-hand menu, click " Settings"
In the Settings page, click on the "API Keys" tab.
Or, click this button: Go to API Keys
API Key Creation
Before using the API, you'll need to create an API key.
To create an API Key on the Mindee Platform:
Access the API Keys Dashboard
Click on the "+ Create API Key" button
Give a name to your key. You'll typically want to name by environment, i.e.
dev,staging,prod, &cClick "Create API Key", your key is now created.
Your new key will be displayed, click Copy, and store your key somewhere safe.

As a security precaution, you will not be able to retrieve the key after creation!
Your key is now ready for use.
API Key Revocation/Deletion
You can revoke a key at any time by deleting it.
Once a key is deleted, it can never be recovered.
Any calls to Mindee made using a deleted key will be rejected, resulting in a HTTP 401 error code.
To delete a key on the Mindee Platform:
Access the API Keys Dashboard
You will see a list of all your current API Keys.
Next to each key is a " Delete" button, click it.
A confirmation dialog will appear.
Click "Delete" in the confirmation dialog, your key is now deleted.
Using an API Key
When creating an API key, make sure to copy the key and store it somewhere safe.
You can then to use it when making API calls.
For more information, consult: Initialize the Mindee Client.
Best practices for API keys
Keeping your API keys in your environment variables is a good and safe practice.
Don’t store your API key directly in your code, and never in your front-end code.
Avoid exposing your secret API keys on GitHub, on the client-side, or in any other location that is open to the public.
If you have any doubt that your API Key leaked, delete it and replace it as soon as possible.
Periodically change your API keys, we recommend changing it every 3 months.
To do so:
Create a new API key;
Update your application to use the new API key;
Delete the old API key.
Last updated
Was this helpful?

