---
title: "List all existing leave request"
method: GET
path: "/management/v2/leave-requests"
tags: ["Leave Request"]
---

# List all existing leave request

`GET /management/v2/leave-requests`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/leave-requests`
- Auth: API key in header `OAuth`

List all existing leave request.

## Query parameters

- `filters` string[]
- `op` string
- `cursor` string
- `limit` integer

## Response `200`

A successful response.

- LeaveRequestListResponse
  - `success` boolean
  - `data` V2modelLeaveRequest[]
    - `id` integer
    - `employeeId` integer
    - `employeeHistoryId` integer
    - `locationId` integer
    - `leaveRuleId` integer
    - `startAt` string, date-time
    - `endAt` string, date-time
    - `timeApprovedBy` integer
    - `payApprovedBy` integer
    - `comment` string
    - `notifyManagerIds` integer[]
    - `status` 'STATUS_AWAITING' | 'STATUS_APPROVED' | 'STATUS_DECLINED' | 'STATUS_CANCELLED' | 'STATUS_DATE_APPROVED' | 'STATUS_PAY_APPROVED'
    - `approverComment` string
    - `totalHours` number, float
    - `createdById` integer
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time
    - `externalId` string
    - `allDay` boolean
  - `nextCursor` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
