---
title: "Get account"
method: GET
path: "/account"
tags: ["Account"]
---

# Get account

`GET /account`

Returns the companies available to the authenticated API key, the currently selected company, and a read-only summary of the key's own permissions.

## Response `200`

Account context returned

- object
  - `success` boolean
  - `user` object
    - `id` string
  - `companies` object[]
    - `id` string
    - `name` string
    - `role` 'owner' | 'admin' | 'viewer' — Account-key access role. Viewer access remains read-only regardless of key scopes.
  - `currentCompanyId` string, nullable
  - `apiKeyPermissions` object — Read-only identity and permission metadata for the authenticated key, including a recovery URL. This does not bypass resource scopes.
    - `activeKey` object — Non-secret identity of the bearer key that authenticated this request. Use it to verify that a restarted client loaded the intended replacement key.
      - `id` string
      - `name` string, nullable
      - `prefix` string, nullable — Stored non-secret key prefix, such as seq_live_A or seq_user_B. Pair it with the key name and ID when verifying a replacement credential.
      - `type` 'company' | 'personal', nullable
    - `preset` 'full_access' | 'read_only' | 'agent_safe' | 'ai_drafting' | 'data_ingest_safe' | 'data_ingest_automations' | 'transactional_sender' | 'marketing_sender' | 'custom'
    - `fullAccess` boolean
    - `selectedScopeCount` integer — Number of currently defined scopes enabled for the key. For full-access keys this equals currentScopeCount, while fullAccess still indicates future-scope access.
    - `currentScopeCount` integer — Total number of permission scopes defined when the response was generated.
    - `description` string — Human-readable explanation of the effective permission selection.
    - `scopes` string[], nullable
    - `canDiscoverMarketingWork` boolean — Whether the key can read campaigns, sequences, and landing pages.
    - `missingMarketingReadScopes` string[]
    - `manageUrl` string, uri, nullable — Direct management URL for the authenticated key. Personal keys open Account API Keys; company keys open the selected workspace's API Keys settings.
  - `message` string

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.net/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/af1cf9620482/schema)
