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

# Authentication

> Authenticate to the StackOne Platform API with API keys and scopes.

The Platform API authenticates with a StackOne API key — [generate one in the dashboard](/embed/api-keys).

## How requests authenticate

Every request uses two values:

* **`Authorization`** — Basic auth with your API key as the username, no password. Keys have the format `v1.{region}.xxxxx`.
* **`x-account-id`** — identifies the end user's linked account, for endpoints that act on a specific account's data.

Pass these when calling any endpoint, such as the [List Accounts endpoint](/platform/api-reference/accounts/list-accounts).

An API key's scopes control which endpoints it can access — see [API Keys](/embed/api-keys#scopes) for the scope reference and key management.
