---
title: "Get an account group for a company"
method: GET
path: "/account-groups/{accountCategoryId}"
tags: ["Accounts"]
deprecated: true
---

# Get an account group for a company

`GET /account-groups/{accountCategoryId}`

> **Deprecated.**

## Path parameters

- `accountCategoryId` string, required

## Response `200`

An account group has been returned

- GetAccountGroupResponse
  - `id` string, required — The unique UUID identifier of the account group
  - `name` string, required — Description of the account group
  - `typeKey` 'entertainment' | 'equipment_and_hardware' | 'marketing_and_advertising' | 'meals_and_drinks' | 'office_expenses' | 'phone_and_internet' | 'services_and_consultancy' | 'software' | 'supplies' | 'travel' | 'other' | 'no_suitable_category', required — Type key of the account group
  - `hidden` boolean, required — Is the account hidden/archived for the user
  - `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

## Other responses

- `400` — validation error
- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — An account group does not exist or does not match the company
- `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)
