Authentication

You'll need to authenticate your requests to access any of the endpoints in the Enhub API. In this guide, we'll look at how authentication works. Enhub offers a classic API key approach to API access.

Using the API key

Request a API key first. After you have received your API key, you can pass it in your API calls like so:

Example request with API key

curl https://api.enhub.nl/v1/scan \
  -H "Authorization: Bearer {token}"

Always keep your token safe and reset it if you suspect it has been compromised.

Was this page helpful?