> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.konfidant.app/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.konfidant.app/_mcp/server.

# Authentication

> Authenticating to Konfidant API

## Prerequisites

> 💡 Konfidant API is a service that is provided to Premium and Enterprise users. The "Free" subscription tier doesn't
> include API usage.

> 🎗️ Only organization admins can create API tokens and access the "API Tokens" page.

## Authentication

On [Konfidant](https://www.konfidant.app), visit the `/dashboard` and access the "API Keys" section from the sidebar.

Using the "Create New API Key" button, create a new API token. The fields you need to fill are as follows:

| Field       | Default Value                  | Optional/Mandatory | Description                                                                           |
| ----------- | ------------------------------ | ------------------ | ------------------------------------------------------------------------------------- |
| Name        | N/A                            | Mandatory          | A name to distinguish tokens from each other.                                         |
| Environment | Live                           | Mandatory          | An environment to distinguish tokens from each other.                                 |
| Expires At  | Never                          | Optional           | An expiry date for the token. Leave empty for keys that never expire.                 |
| Rate Limit  | 60                             | Mandatory          | Allowed requests/minute from this token. Maximum 240.                                 |
| Scopes      | `files:create`, `texts:create` | Mandatory          | Scopes to define token capabilities. `files:create`, `texts:create` and `shares:list` |

> ⚠️ The `shares:list` scope is usually only available to organization admins.