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

# API keys

> Create and revoke partner API keys for External /api/v1.

Partner integrations authenticate with an API key scoped to your business.

## Create a key

1. Open **API keys** in settings.
2. Create a key and copy the value immediately — Documate shows the secret only once.
3. Store it in your secret manager. Never commit keys to source control.

## Use the key

Send the key on every External API request:

```bash theme={null}
X-Api-Key: YOUR_API_KEY
```

You can also send `Authorization: ApiKey YOUR_API_KEY`.

## Revoke

Revoke a key from the same page when it is compromised or unused. Create a replacement key before revoking a key that production systems still call.

<Warning>
  Treat API keys like passwords. Anyone with a key can upload and read data for that business.
</Warning>


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