---
title: "Preview pay schedule dates"
method: GET
path: "/v1/companies/{company_id}/pay_schedules/preview"
tags: ["Pay Schedules"]
---

# Preview pay schedule dates

`GET /v1/companies/{company_id}/pay_schedules/preview`

Provides a preview of a pay schedule with the specified parameters for the next 18 months. Use this before creating or updating a pay schedule to show expected check dates, pay period boundaries, and payroll deadlines.

### Related guides
- [Create a pay schedule](https://docs.gusto.com/embedded-payroll/docs/create-a-pay-schedule)
- [Manage Pay Schedules via API](https://docs.gusto.com/embedded-payroll/docs/manage-pay-schedules-api)

scope: `pay_schedules:write`

## Path parameters

- `company_id` string, required

## Query parameters

- `frequency` 'Every week' | 'Every other week' | 'Twice per month' | 'Monthly', required
- `anchor_pay_date` string, date, required
- `anchor_end_of_pay_period` string, date, required
- `day_1` integer
- `day_2` integer
- `end_date` string, date
- `pay_schedule_uuid` string, uuid

## Headers

- `X-Gusto-API-Version` '2026-06-15'

## Response `200`

Successful

- PaySchedulePreview — Preview of pay schedule dates for the next 18 months. Use this to show partners expected pay dates, pay period boundaries, and payroll deadlines before they create or change a pay schedule. See [Preview pay schedule dates](https://docs.gusto.com/embedded-payroll/reference/get-v1-companies-company_id-pay_schedules-preview) for usage. - **pay_periods**: One entry per pay period in the range; each includes check_date, start_date, end_date, and run_payroll_by. - **holidays**: Observed bank holidays (ISO date strings) that may affect payroll timing.
  - `pay_periods` PaySchedulePreviewPayPeriod[] — A list of pay periods for the previewed pay schedule (default range is 18 months from today, or up to end_date when provided).
    - `check_date` string, date, required — The payment date, "Check date", for the pay period.
    - `start_date` string, date, required — The first day of the pay period.
    - `run_payroll_by` string, date, required — The deadline to run payroll for direct deposit on the check date.
    - `end_date` string, date, required — The last day of the pay period.
  - `holidays` string[] — A list of dates for bank closures (ISO date strings); may affect payroll processing.

## Other responses

- `404` — Not Found The requested resource does not exist. Make sure the provided UUID is valid.
- `422` — Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details.

---

[API](https://skmtc.net/gusto/apis/gusto-api.md) · [All operations](https://skmtc.net/gusto/apis/gusto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gusto/gusto-api/revisions/826dfa57fb3b/schema)
