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

# Account API

> Account and connection management endpoints

**Required Scope:** `ACCOUNT`

The Account API provides endpoints for managing your OFAuth account and connections. Use these endpoints to get platform information and manage authenticated connections.

## Quick Reference

| Endpoint                                            | Method    | Description                                   |
| --------------------------------------------------- | --------- | --------------------------------------------- |
| `/v2/account/whoami`                                | GET       | Get platform overview and account information |
| `/v2/account/settings`                              | GET/PATCH | Organization-level settings                   |
| `/v2/account/connections`                           | GET       | List all connections                          |
| `/v2/account/connections/import`                    | POST      | Import an external connection                 |
| `/v2/account/connections/{connectionId}`            | DELETE    | Disconnect a connection                       |
| `/v2/account/connections/{connectionId}/invalidate` | POST      | Force session expiration                      |
| `/v2/account/connections/{connectionId}/settings`   | GET/PATCH | Per-connection settings                       |

## Authentication

All Account API endpoints require API key authentication with the `ACCOUNT` scope:

```http theme={null}
apikey: YOUR_API_KEY
```
