> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Leave Requests

Retrieves the current leave requests. The query can be filtered by a number of specific query parameters.

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                             |
  | ------------ | ----------------------------------------------------------------------- |
  | End Date     | End date of leave.                                                      |
  | From         | Filter to capture whether the leave request overlaps with a date range. |
  | ID           | -                                                                       |
  | Leave Policy | -                                                                       |
  | Processed By | -                                                                       |
  | Requested By | -                                                                       |
  | Role         | -                                                                       |
  | Start Date   | Start date of leave.                                                    |
  | Status       | -                                                                       |
  | To           | Filter to capture whether the leave request overlaps with a date range. |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"comments": null,
			"createdAt": "2018-08-12T15:06:51.681000-07:00",
			"dates": [
				{
					"date": "2018-08-22",
					"numMinutes": 480
				},
				{
					"date": "2018-08-23",
					"numMinutes": 480
				},
				{
					"date": "2018-08-24",
					"numMinutes": 240
				}
			],
			"endDate": "2018-08-24",
			"id": "5b998dfb40cae798a83e8874",
			"leavePolicy": "5b998cf940cae798a83e87fd",
			"leaveType": "VACATION",
			"numHours": 20,
			"numMinutes": 1200,
			"policyDisplayName": "Vacation",
			"processedAt": "2018-08-13T15:06:51.684000-07:00",
			"processedBy": "5ae0b2cb40cae73202bd66cc",
			"processedByName": "Funky Admin",
			"reasonForLeave": "Visiting hometown for my brother’s wedding",
			"requestedBy": "5ae0b2cb40cae73202bd66cc",
			"requestedByName": "Jane Doe",
			"role": "5ae0b2cb40cae73202bd66cc",
			"roleName": "Jane Doe",
			"startDate": "2018-08-22",
			"status": "APPROVED",
			"updatedAt": "2018-08-13T15:06:51.684000-07:00"
		}
	]
}
```

## Workflow Library Example

[Get Leave Requests with Rippling and Send Results Via Email](https://library.blinkops.com/workflows/get-leave-requests-with-rippling-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-leave-requests-with-rippling-and-send-results-via-email/canvas" />
</div>
