List time off requests for a company
Get all time off requests for a company. Supports filtering by status, employee, and date ranges.
Possible statuses:
- pending — awaiting approval
- approved — approved by an admin but not yet processed in a payroll
- declined — declined by an admin
- consumed — processed in a completed payroll
Allowed values for status: pending, approved, declined, consumed.
scope: time_off_requests:read
Request
- Base URLhttps://api.gusto-demo.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The UUID of the company
Query parameters
Filter by employee UUIDs. Comma-separated for multiple values.
Filter by request status. Comma-separated for multiple values (e.g. pending,approved,declined,consumed).
Filter requests that overlap with this start date
Filter requests that overlap with this end date
Sort order by start_date (asc or desc, defaults to desc)
The page that is requested
Number of objects per page
Headers
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Response
successful
Example response
[
{
"uuid": "ad158cfb-99e4-4741-9db3-0bd3a267f222",
"status": "pending",
"employee_note": "Family vacation",
"policy_type": "vacation",
"policy_uuid": "c2d9b1bd-3f36-4c2d-a727-b2af057d6a7f",
"days": {
"2026-10-20": "8.000",
"2026-10-21": "8.000"
},
"employee": {
"uuid": "51924fa0-26c6-4d4c-8832-3ef0b422c67e",
"full_name": "Alex Johnson"
},
"initiator": {
"uuid": "51924fa0-26c6-4d4c-8832-3ef0b422c67e",
"full_name": "Alex Johnson"
},
"approver": {
"uuid": "21d8dff4-ce09-4120-a274-3a5628bf6769",
"full_name": "Morgan Chen"
}
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.