---
title: "Get all tag groups belonging to the specified company."
method: GET
path: "/tag-groups"
tags: ["Tag Groups"]
deprecated: true
---

# Get all tag groups belonging to the specified company.

`GET /tag-groups`

> **Deprecated.**

This endpoint returns all tag groups belonging to the company as well as their attributes

## Query parameters

- `archived` boolean

## Response `200`

Tag groups have been returned

- object[]
  - `id` string, required — This is the internal pleo identifier of the tag group
  - `name` string, required — This is the tag group name supplied on create
  - `tagAttributes` object[], required — These are the attributes that define a tag in this tag group, i.e. the tag columns. Each tag column is included only once.
    - `id` string, required — This is the internal pleo identifier of the tag group
    - `name` string, required — This is the tag group name supplied on create
    - `displayOrder` number, required — This number specifies the order in which these attributes are displayed in pleo.
    - `hidden` boolean, required — This flag specifies the column used as a display value for the customer when applying the tag on an expense. Non-hidden column values will be concatenated and used as the display
  - `archived` boolean, required — This flag specifies whether the tag group has been archived in the Pleo system or not

## 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)
