---
title: "Return an attendance for a given attendance id."
method: GET
path: "/attendances/{attendanceId}"
tags: ["Attendance"]
---

# Return an attendance for a given attendance id.

`GET /attendances/{attendanceId}`

This endpoint returns one attendance entry specified by  **attendanceId**.

## Path parameters

- `attendanceId` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- object
  - `_id` string — The _id of the requested attendance entry.
  - `userId` string — The id of the employee associated to the requested attendance entry.
  - `email` string — The email of the employee associated to the requested attendance entry.
  - `externalId` string — The external Id of the employee associated to the requested attendance entry.
  - `startTime` string — The start date time of the requested attendance entry.
  - `endTime` string — The end date time of the requested attendance entry.
  - `breaks` object[] — Array that contains the breaks in detail.
    - `start` string — The start time of the break.
    - `end` string — The end time of the break.
  - `breakTime` number — Number of minutes of break time. If there is no 'breaktime' this field will not be in the response. This value is the sum of the total time of breaks.
  - `paidBreakTime` number — Number of minutes of paid break time. If there is no 'paidBreakTime' this field will not be in the response. This value is the sum of the total time of paid breaks, which can be configured in the settings of the attendance policy.
  - `attendanceCategoryId` string — The Kenjo _id of the attendance category.
  - `attendanceSubCategoryId` string — The Kenjo _id of the attendance sub category.
  - `comment` string — Optional text to describe an attendance record (pair of startTime and endTime). The maximum number of characters is 150.

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