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

# Get Account

> Get the companies available to the authenticated API key

Get the current API context. User-scoped keys return the companies you can access and the selected company; company-scoped keys return that single company.

## Request

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/account" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "user": {
      "id": "user_abc123"
    },
    "companies": [
      {
        "id": "company_abc123",
        "name": "Acme Inc"
      }
    ],
    "currentCompanyId": "company_abc123"
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```
</ResponseExample>
