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

# List all accounts

`GET /accounts`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/accounts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cint/apis/demand-api/docs/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of all accounts that the authenticated user is authorized to access. This list will be empty if you don't have access to any accounts.

## Response `200`

Successfully returned list of accounts.

- AccountsList: A list of accounts the authenticated user can access.
  - `accounts` object[]: A list of user accounts.
    - `id` integer: A unique identifier for an account.
    - `name` string: The name of the account.

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `500`: A request failed due to an internal error.

---

[API](https://skmtc.dev/cint/apis/demand-api.md) - [All operations](https://skmtc.dev/cint/apis/demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cint/apis/demand-api/revisions/077a4bdda5cb?raw)
