---
title: "Get Time Off Requests Count"
method: GET
path: "/v1/time-off/requests/count"
---

# Get Time Off Requests Count

`GET /v1/time-off/requests/count`

## Request

- Base URL: `https://app.untetherlabs.com/api`
- URL: `https://app.untetherlabs.com/api/v1/time-off/requests/count`
- Auth: HTTP bearer

Get the total count of time off requests for the current filters.

## Query parameters

- `providerId` string, uuid: Filter to requests for a specific provider.
- `teamId` union: Filter to requests for providers in specific teams.
  - string, uuid
  - string[]
- `policyId` union: Filter to requests for specific policies.
  - string, uuid
  - string[]
- `startDate` string: Filter to requests whose start date is on or after the given timestamp.
- `endDate` string: Filter to requests whose end date is earlier than the provided timestamp.
- `status` 'pending' | 'approved' | 'rejected' | 'cancelled' | 'pending_sync' | 'sync_failed'
- `query` string
- `expand` string: Available expansions: `policy`, `provider`, `rejectedBy` See [Query Parameters](/using-the-api/query-parameters) for more information on expansions.
- `sort` string: Available fields: `createdAt`, `startDate` See [Query Parameters](/using-the-api/query-parameters) for more information on sorting.

## Response `200`

- TimeOffRequestsCountResponse
  - `count` number, required

## Other responses

- `400`: We follow the [RFC-9457](https://www.rfc-editor.org/rfc/rfc9457.html) Problem Detail specification for error responses. Errors should be identified by their `type` field. You can view extensions for each error response below.

---

[API](https://skmtc.dev/untetherlabs/apis/untether-labs-api.md) - [All operations](https://skmtc.dev/untetherlabs/apis/untether-labs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/untetherlabs/apis/untether-labs-api/revisions/143223935df3?raw)
