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

# Authentication

The ROOTKey API uses api keys to authenticate requests.

You can view and manage your API keys in your Account Settings on ROOTKey Platform.

API requests are authenticated using a custom header. To authenticate a request, provide the token in the `x-api-key` header of the request:

API Keys are tied to the ROOTKey user account for which they were created. **A API key provides the same level of access & privileges that its associated ROOTKey user account would have.**

<Warning>
  Please be sure to keep your API Keys secure! Do not share them in emails, chat messages, client-side code or publicly accessible sites.

  If you have accidentally shared an API Key publicly, you can revoke it in the [Account Settings](https://app.rootkey.ai/settings/dev?utm_source=api_docs\&utm_medium=authentication_page\&utm_content=account_settings) of your ROOTKey user account by clicking the X button beside the key.
</Warning>
