> ## Documentation Index
> Fetch the complete documentation index at: https://docs.defindex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an API key

> Create an API key in the DeFindex Console and send it as Authorization: Bearer sk_... on every request.

Create the key in the [DeFindex Console](https://console.defindex.io), under **API Keys**. It looks like `sk_...`, and the console shows it in full only once, so copy it then.

Send it on every request:

```http theme={null}
Authorization: Bearer sk_...
```

A route that needs a key answers `401` when none arrives or the key is not accepted. Signing up, how many keys an account holds, and how to rotate one without downtime are in [Getting Your API Key](https://docs.defindex.io/integration-guide/guides-and-tutorials/getting-api-key.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.