# List leave types

> A list of leave types.

GET

/leave-types/

Returns a paginated list of leave types.

#### Helpful resources

-   [Manage leave using the API](https://developer.rippling.com/documentation/rest-api/guides/leave)
-   [Time Off overview](https://help.rippling.com/page?page=time-off)

### Required Scopes

-   leave-types.read
    

### Request

Query Parameters

**filter** string

**order\_by** string

**limit** integer required

**Possible values:** `>= 1` and `<= 100`

**Default value:** `50`

The maximum number of results to return. Defaults to 50. Maximum is 100.

**cursor** string

#### Using filters

Include one or more of these fields in the [filter parameter](https://developer.rippling.com/documentation/rest-api/essentials/query-parameters#filter) to refine your results.

Fields:name

#### Sorting results

Include one or more of these fields in the [sort parameter](https://developer.rippling.com/documentation/rest-api/essentials/query-parameters#sort-order_by) to control result order.

Fields:id, created\_at, updated\_at

## Responses

-   200
-   400
-   401
-   403

Successful response

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**\_\_meta** object

A list of redacted fields.

**redacted\_fields** object\[\]

Array \[

**name** string

The name for the redacted field

**reason** string

The reason for the redaction

\]

**results** object\[\]

Array \[

**id** string required

Identifier field

**created\_at** string required

Record creation date

**updated\_at** string required

Record update date

**type** string required

The type of leave.

**name** string required

The name of the leave type.

**description** string

The description of the leave type.

**is\_paid** boolean required

Whether the leave is paid.

**is\_managed\_by\_external\_system** boolean required

Whether the leave is managed by an external system.

\]

**next\_link** string nullable

A link to the next page of responses, or null if there are no more pages.

```json
{
  "__meta": {
    "redacted_fields": [
      {
        "name": "date_of_birth",
        "reason": "Insufficient entitlements"
      }
    ]
  },
  "results": [
    {
      "id": "string",
      "created_at": "string",
      "updated_at": "string",
      "type": "string",
      "name": "string",
      "description": "string",
      "is_paid": false,
      "is_managed_by_external_system": false
    }
  ],
  "next_link": "string"
}
```

The request failed validation. The response body describes the error.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**detail** string

A human-readable explanation of why the request failed.

```json
{
  "detail": "string"
}
```

Authentication is required or the supplied credentials are invalid.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

-   Matches one or more of these formats:
    
    1.  **Format 1**
        
        **ok** boolean required
        
        Whether the request succeeded. Always false for an authentication error.
        
        **Possible values:** \[false\]
        
        **error** string required
        
        A human-readable explanation of why authentication failed.
        
    2.  **Format 2**
        
        **detail** string required
        
        A human-readable explanation of the authentication error.
        

**Format 1**

```json
{
  "ok": false,
  "error": "Incorrect authentication credentials."
}
```

**Format 2**

```json
{
  "detail": "string"
}
```

The caller is not authorized to perform this action.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**detail** string

A human-readable explanation of why the request failed.

```json
{
  "detail": "string"
}
```

Source: https://developer.rippling.com/documentation/rest-api/reference/list-leave-types

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
