---
title: "List accounts"
method: GET
path: "/v1/accounts"
tags: ["Accounts"]
---

# List accounts

`GET /v1/accounts`

Retrieves all accounts accessible to the user associated with the API key.

## Response `200`

Successful response containing the accounts accessible to the authenticated user.

- object
  - `requestId` string — Unique identifier for the request.
  - `status` string — Indicates the status of the request.
  - `accounts` Account[] — List of accounts.
    - `id` integer — Account ID.
    - `name` string — Name of the account.
    - `accountType` 'organization' | 'agency' | 'client' — Type of account.

## Other responses

- `401` — Error response indicating that the API key is missing or invalid.

---

[API](https://skmtc.dev/databox/apis/databox-api.md) · [All operations](https://skmtc.dev/databox/apis/databox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/databox/databox-api/revisions/8e7a3a444e6b/schema)
