---
title: "Clock out"
method: PATCH
path: "/attendance/employees/{employeeId}/entries/clock-out"
tags: ["Attendance"]
---

# Clock out

`PATCH /attendance/employees/{employeeId}/entries/clock-out`

Record clock-out for the employee identified by the path. Updates the most recent open clock-in entry for that employee with the given clock-out time. Returns the updated entry ID.

## Path parameters

- `employeeId` string, required

## Request body

- ClockOutRequestBody — Request body for clock-out when using PATCH /attendance/employees/{employeeId}/entries/clock-out (employeeId is in the path).
  - `clockOutTime` string, date-time, required — Clock-out as a **timestamp** (date + time) in date-time format (e.g. ISO 8601). The **date part** of the timestamp must be the current date; past or future dates cause the request to fail. An open clock-in for this employee must already exist (see clock-in endpoint).

## Response `200`

Clock-out recorded; returns the entry ID

- EntryIdResponse — Response containing a single attendance entry ID
  - `id` integer, required — The attendance entry ID (created or updated)

## Other responses

- `400` — The request is malformed or includes invalid parameters
- `401` — Authentication failed. Check your service user credentials
- `403` — The service user or token is missing the required permissions to access the requested data
- `404` — Feature not enabled or no open clock-in found
- `429` — Rate limit exceeded - see <a href="https://apidocs.hibob.com/reference/attendance#rate-limiting" target="_blank">Rate limits</a>
- `500` — An unexpected error occurred. Try again or contact support if the issue persists.

---

[API](https://skmtc.net/hibob/apis/employee-data-api.md) · [All operations](https://skmtc.net/hibob/apis/employee-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hibob/employee-data-api/versions/0781ebbdda91/schema)
