---
title: "Get company accounts"
method: GET
path: "/accounts"
tags: ["Accounts"]
deprecated: true
---

# Get company accounts

`GET /accounts`

> **Deprecated.**

## Query parameters

- `pageOffset` number
- `pageSize` number

## Response `200`

Accounts has been returned

- AccountsResponse
  - `accounts` object[]
    - `id` string, required — The unique UUID identifier of the account
    - `accountNumber` string — Account number
    - `taxCodeId` string — unique Tax Code ID
    - `name` string, required — Description of this account
    - `accountCategoryId` string, required — unique Category ID of the account
    - `hidden` boolean, required — Is the account hidden/archived for the user
  - `metadata` object, required — Additional metadata including pagination information
    - `pageInfo` object — Pagination information.
      - `nextPageOffset` number — The row number that should be used in the next fetch for the next page offset
      - `pageSize` number, required — The number of items returned in this page
      - `totalCount` number, required — The total number of items mapped to the filter criteria supplied

## Other responses

- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — route not found
- `500` — Something went wrong. Please contact the administrator if problems persist.

---

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