Create & Manage API Keys

After you've set up your Mindee account, you need to create your API keys before you can begin making API requests. All the APIs in the APIs Store, which include the Invoices API, Receipts API, Bank Account Details API, etc., can be accessed using a single API key.

Creating Your API Key

Once logged in, you'll land on the APIs hub page where you can see Your APIs which will be empty at the beginning, and the off-the-shelf APIs in the APIs Store.

30003000
  1. Click on your username or organization name at the top right side of the page.
29722972
  1. Select Settings from the drop-down menu.
11681168
  1. Click on API Keys on the left side of the Settings dashboard page.
  2. Click on Create a new API key button.
30003000

5. Give your API key a desired name and click on Create API key.

23622362
  1. Your API key will be created showing the date and time it was created. You can then copy your API key and paste it into your coding environments, applications, or command-line tools.
23242324

Managing API keys

Within the API keys section, you can create multiple API keys according to your needs, retrieve, and delete your API keys.

Set up Another API Key

You may want to use different keys for different environments, for example, one key for development, another for staging, another production, etc. They can be different scenarios in this regard.

To add another API key, click on the Create a new API key button.

23422342

You can create multiple keys according to your needs and each of these keys can work across all APIs.

29802980

Delete API key

❗️

It is important to note that if you delete your API keys, it cannot be undone.

Once your API key is created, the API key can be deleted, but not modified.

  1. Click on the delete icon located on the left.
23242324
  1. A dialog box will pop out, type the name of your API key and click on the Delete API button.
18321832

Best Practices for Using API Keys

  1. Keeping your API keys in your environment variables is a good and safe practice.
  2. Don’t store your API key directly in your code.
  3. Avoid exposing your secret API keys on GitHub, on the client-side, or in any other location that is open to the public.
  4. Periodically change your API keys. To do so:
    • Create a new API key,
    • Update your application with the new API key.
    • Delete the old API key.

 

Questions?
Slack Logo IconSlack Logo Icon  Join our Slack