---
title: "Return a list of attendance categories."
method: GET
path: "/attendances/categories"
tags: ["Attendance"]
---

# Return a list of attendance categories.

`GET /attendances/categories`

This endpoint returns an array of objects. Every object contains an attendance category.

## Headers

- `Authorization` string, required

## Response `200`

OK

- object
  - `data` object[]
    - `_id` string — The Kenjo _id of the returned attendance category.
    - `name` string — The name of the returned attendance category.
    - `parentCategoryId` string — The id of the parent attendance category.
    - `isActive` boolean — If the attendance category is active then this field is TRUE, otherwise is FALSE.

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.net/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.net/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
