Generating an API key
API keys can be generated from the Bondio portal by following these steps:- Go to the developers section on the sidebar
- Click New key at the top right
- Carefully copy the key from the display popup
You can only ever view the full key in plain text at the time of creation. If your key gets misplaced or you couldn’t copy it, you will need to delete the existing key on the portal and generate a new one.
Using an API key
Your API key is used as a Bearer token in theAuthorization header of your request, for example:
API key error
If the API key is missing or invalid, you will receive a401 HTTP response code. Here is a sample response: