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

# Overview

> Overview of the WhiteBIT OAuth 2.0 endpoints, including the recommended OAuth API key flow for partner integrations.

The OAuth 2.0 endpoints documented in this section cover three integration surfaces: authorization and token exchange, OAuth-issued API keys, and account read endpoints. Partner platforms that need to issue WhiteBIT API keys on behalf of users SHOULD use the OAuth API key flow — the flow replaces manual key creation and copy-paste with a consent-driven bootstrap that issues a partner-scoped key and exposes the secret to the partner exactly once. Any IP restriction on the key is the end user's own account-level control, not a partner-managed allowlist.

## Endpoint groups

> [card] [OAuth API keys](https://docs.whitebit.com/guides/fast-api-key-integration.md)
>
> Recommended partner integration. Issue, retrieve, and delete API keys on behalf of WhiteBIT users.

> [card] [Authorization and tokens](https://docs.whitebit.com/api-reference/oauth/usage/authorize.md)
>
> OAuth 2.0 authorization code flow: authorize, exchange code for access token, refresh.

> [card] [Account read endpoints](https://docs.whitebit.com/api-reference/oauth/usage/account-transactions.md)
>
> Read account transactions, balances, orders, deals, and conversions on behalf of the authenticated user.

## OAuth API key flow

The OAuth API key flow uses Authorization Code with PKCE (S256) and issues a short-lived access token together with a refresh token. The partner redirects the user to the WhiteBIT consent screen; on consent and MFA approval, the WhiteBIT platform issues a partner-issued API key for the authenticated `(user, OAuth2 client)` pair. The partner detects key creation through `GET /oauth2/api-key/info`, retrieves the secret exactly once through `GET /oauth2/api-key/{externalId}/secret`, and deletes the key when no longer needed through `DELETE /oauth2/api-key/{externalId}`. See the [Fast API Key integration guide](https://docs.whitebit.com/guides/fast-api-key-integration.md) for the full integration walkthrough.

## Required scopes

| Scope | Endpoint | Purpose |
| - | - | - |
| `apikeys.read` | `GET /oauth2/api-key/info` | Check whether a partner-issued API key already exists for this `(user, client)` pair |
| `apikeys.read` | `GET /oauth2/api-key/{externalId}/secret` | Retrieve the API secret once |
| `apikeys.delete` | `DELETE /oauth2/api-key/{externalId}` | Delete a partner-owned API key |

## Region availability

The OAuth API key endpoints (`/oauth2/api-key/*`) are available on the global server (`https://whitebit.com`) only. The EU server (`https://whitebit.eu`) does not expose these endpoints in this release.

## Related resources

> [card] [Fast API Key integration guide](https://docs.whitebit.com/guides/fast-api-key-integration.md)

> [card] [OAuth 2.0 (conceptual)](https://docs.whitebit.com/platform/oauth/overview.md)

> [card] [Private HTTP API authentication](https://docs.whitebit.com/api-reference/authentication.md)

> [card] [Fast API Key (glossary)](https://docs.whitebit.com/glossary.md#fast-api-key)

## Used in these guides

* [Fast API Key integration](https://docs.whitebit.com/guides/fast-api-key-integration.md) — OAuth-issued API keys created on behalf of end users.


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