---
title: "Approve or reject time-off requests"
method: POST
path: "/time_offs/review"
tags: ["timeOff"]
---

# Approve or reject time-off requests

`POST /time_offs/review`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/time_offs/review`
- Auth: HTTP bearer

Approves or rejects a batch of time-off requests in a single call. The desired status must be either APPROVED or REJECTED for each entry. Only time-offs currently in REQUESTED status can be reviewed; entries in any other status are returned as not reviewed. Rejecting a time-off request is irreversible: once rejected, its status cannot be changed through this API. The response distinguishes successfully processed requests from those that encountered errors.

 **Token scopes**: `time-off:write`

## Request body

- object
  - `data` TimeOffsReviewPostRequestBodyContentApplicationJsonSchemaDataItems[], required: Array of time-offs to be reviewed
    - `id` string, required: Time off id
    - `status` 'APPROVED' | 'REJECTED', required: Decision on whether the time off request was approved or rejected

## Response `201`

Review process completed successfully

- TimeOffReviewTimeOffRequestResponse201: The response contains two lists: one for time-offs that were successfully reviewed and another for those that could not be reviewed. Each time-off in the reviewed list contains its ID and the status it was set to (either APPROVED/USED or REJECTED). The notReviewed list contains the IDs of time-offs that could not be reviewed along with an error message explaining why.
  - `data` TimeOffsReviewPostResponsesContentApplicationJsonSchemaData, required
    - `reviewed` TimeOffsReviewPostResponsesContentApplicationJsonSchemaDataReviewedItems[], required
      - `id` string, uuid, required: Time off id
      - `status` 'APPROVED' | 'USED' | 'REJECTED', required: Time off status after review
    - `not_reviewed` TimeOffsReviewPostResponsesContentApplicationJsonSchemaDataNotReviewedItems[], required
      - `id` string, uuid, required: Time off id
      - `error` string, required: The error or reason why a time-off could not be reviewed

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
