---
updatedAt: 2026-05-26T23:06:49.000Z
agentTools:
  siteIndex: https://docs.gusto.com/llms.txt
  projectIndex: https://docs.gusto.com/embedded-payroll/llms.txt
---

# Get a pay schedule

Returns a single pay schedule by UUID. The pay schedule object in Gusto captures the details of when employees work and when they should be paid. A company can have multiple pay schedules.

scope: `pay_schedules:read`

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "tags": [
    {
      "name": "Pay Schedules"
    }
  ],
  "info": {
    "title": "Gusto API",
    "version": "2026-06-15",
    "termsOfService": "https://gusto.com/about/terms/developer-terms-of-service",
    "description": "Welcome to Gusto's Embedded Payroll API documentation!",
    "contact": {
      "name": "Developer Relations",
      "email": "developer@gusto.com"
    },
    "x-release-status": "stable"
  },
  "servers": [
    {
      "url": "https://api.gusto-demo.com",
      "description": "Demo",
      "x-speakeasy-server-id": "demo"
    }
  ],
  "security": [
    {
      "CompanyAccessAuth": []
    }
  ],
  "components": {
    "schemas": {
      "Not-Found-Error-Object": {
        "description": "Not Found \n  \nThe requested resource does not exist. Make sure the provided ID/UUID is valid.",
        "type": "object",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "error_key",
                "category"
              ],
              "properties": {
                "error_key": {
                  "type": "string",
                  "description": "Specifies where the error occurs. Typically this key identifies the attribute/parameter related to the error."
                },
                "category": {
                  "type": "string",
                  "description": "Specifies the type of error. The category provides error groupings and can be used to build custom error handling in your integration."
                },
                "message": {
                  "type": "string",
                  "description": "Provides details about the error - generally this message can be surfaced to an end user."
                }
              }
            }
          }
        },
        "x-examples": {
          "not_found": {
            "errors": [
              {
                "error_key": "request",
                "category": "not_found",
                "message": "The requested resource was not found."
              }
            ]
          },
          "deprecated_accept_terms_of_service": {
            "errors": [
              {
                "error_key": "request",
                "category": "deprecated_endpoint",
                "message": "The requested endpoint is no longer supported in the requested API version. Use POST /v1/partner_managed_companies/:company_uuid/terms_of_service instead"
              }
            ]
          },
          "deprecated_retrieve_terms_of_service": {
            "errors": [
              {
                "error_key": "request",
                "category": "deprecated_endpoint",
                "message": "The requested endpoint is no longer supported in the requested API version. Use PUT /v1/partner_managed_companies/:company_uuid/terms_of_service instead"
              }
            ]
          }
        }
      },
      "Pay-Schedule-Show": {
        "type": "object",
        "title": "Pay Schedule",
        "description": "Pay schedule returned from pay schedule endpoints (GET by ID, POST create, PUT update). Same fields as Pay-Schedule with a required `version` for [optimistic concurrency](https://docs.gusto.com/embedded-payroll/docs/api-fundamentals#optimistic-version-control).\n\nFor API version 2025-11-15 and later, responses use `auto_payroll`; earlier versions use `auto_pilot` for the same semantic.\n",
        "required": [
          "uuid",
          "version"
        ],
        "properties": {
          "uuid": {
            "$ref": "#/components/schemas/Pay-Schedule-Uuid"
          },
          "version": {
            "$ref": "#/components/schemas/Pay-Schedule-Version"
          },
          "frequency": {
            "$ref": "#/components/schemas/Pay-Schedule-Frequency"
          },
          "anchor_pay_date": {
            "$ref": "#/components/schemas/Pay-Schedule-Anchor-Pay-Date"
          },
          "anchor_end_of_pay_period": {
            "$ref": "#/components/schemas/Pay-Schedule-Anchor-End-Of-Pay-Period"
          },
          "day_1": {
            "$ref": "#/components/schemas/Pay-Schedule-Day-1"
          },
          "day_2": {
            "$ref": "#/components/schemas/Pay-Schedule-Day-2"
          },
          "first_pay_period_pay_day": {
            "$ref": "#/components/schemas/Pay-Schedule-First-Pay-Period-Pay-Day"
          },
          "second_pay_period_pay_day": {
            "$ref": "#/components/schemas/Pay-Schedule-Second-Pay-Period-Pay-Day"
          },
          "first_pay_period_end_day": {
            "$ref": "#/components/schemas/Pay-Schedule-First-Pay-Period-End-Day"
          },
          "second_pay_period_end_day": {
            "$ref": "#/components/schemas/Pay-Schedule-Second-Pay-Period-End-Day"
          },
          "name": {
            "$ref": "#/components/schemas/Pay-Schedule-Name"
          },
          "custom_name": {
            "$ref": "#/components/schemas/Pay-Schedule-Custom-Name"
          },
          "auto_payroll": {
            "$ref": "#/components/schemas/Pay-Schedule-Auto-Payroll"
          },
          "active": {
            "$ref": "#/components/schemas/Pay-Schedule-Active"
          },
          "auto_payroll_enablement_blockers": {
            "$ref": "#/components/schemas/Pay-Schedule-Auto-Payroll-Enablement-Blockers"
          },
          "workweek_start_day": {
            "$ref": "#/components/schemas/Pay-Schedule-Workweek-Start-Day"
          }
        },
        "x-tags": [
          "Pay Schedules"
        ],
        "x-examples": {
          "Example": {
            "uuid": "f2a69c38-e2f9-4e31-b5c5-4754fc60a052",
            "version": "68934a3e9455fa72420237eb05902327",
            "frequency": "Twice per month",
            "anchor_pay_date": "2020-05-15",
            "anchor_end_of_pay_period": "2020-05-08",
            "day_1": 15,
            "day_2": 31,
            "first_pay_period_pay_day": 15,
            "second_pay_period_pay_day": 31,
            "first_pay_period_end_day": "",
            "second_pay_period_end_day": "",
            "name": "Engineering",
            "auto_payroll": false,
            "custom_name": "A new monthly pay schedule",
            "active": true,
            "auto_payroll_enablement_blockers": "",
            "workweek_start_day": "Monday"
          },
          "success_status": {
            "uuid": "f2a69c38-e2f9-4e31-b5c5-4754fc60a052",
            "version": "68934a3e9455fa72420237eb05902327",
            "frequency": "Twice per month",
            "anchor_pay_date": "2022-09-01",
            "anchor_end_of_pay_period": "2022-08-18",
            "day_1": 1,
            "day_2": 15,
            "first_pay_period_pay_day": 1,
            "second_pay_period_pay_day": 15,
            "first_pay_period_end_day": "",
            "second_pay_period_end_day": "",
            "name": "",
            "custom_name": "every 1st and 15th of the month",
            "auto_payroll": true,
            "active": true,
            "auto_payroll_enablement_blockers": "",
            "workweek_start_day": "Monday"
          }
        }
      },
      "Pay-Schedule-Version": {
        "type": "string",
        "description": "The current version of the pay schedule. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/api-fundamentals#optimistic-version-control) for information on how to use this field for optimistic concurrency.",
        "readOnly": true
      },
      "Pay-Schedule-Auto-Payroll": {
        "type": "boolean",
        "description": "With automatic payroll enabled, payroll runs automatically one day before payroll deadlines. When false, payroll does not run automatically.\nReturned for API version 2025-11-15 and later; for earlier versions the response uses auto_pilot instead.\n",
        "readOnly": true
      },
      "Pay-Schedule-Auto-Payroll-Enablement-Blockers": {
        "type": [
          "array",
          "null"
        ],
        "description": "List of blockers preventing automatic payroll from being enabled. If automatic payroll is already enabled, this field is null.",
        "items": {
          "$ref": "#/components/schemas/Pay-Schedule-Auto-Payroll-Enablement-Blocker"
        }
      },
      "Pay-Schedule-Auto-Payroll-Enablement-Blocker": {
        "type": "object",
        "description": "A single blocker preventing Autopayroll enablement.",
        "properties": {
          "key": {
            "type": "string",
            "description": "The blocker type. Possible values: employees_not_on_direct_deposit, employees_not_salaried, missing_state_tax_requirements, missing_funding_method, one_day_ach_speed_not_supported, company_suspended, earned_fast_ach_not_met, hourly_employees_missing_default_hours."
          },
          "metadata": {
            "type": "object",
            "description": "Blocker-specific metadata (e.g. employee_uuids, states)."
          }
        }
      },
      "Pay-Schedule-Uuid": {
        "type": "string",
        "description": "The unique identifier of the pay schedule in Gusto.",
        "readOnly": true
      },
      "Pay-Schedule-Frequency": {
        "type": "string",
        "description": "The frequency that employees on this pay schedule are paid with Gusto.\n\nREAD-ONLY in responses. Possible values:\n\n- `Every week`: Employees are paid weekly.\n- `Every other week`: Employees are paid bi-weekly (every two weeks).\n- `Twice per month`: Employees are paid twice per month. The explicit pay-day fields always represent pay days; explicit period-end fields are populated only for flexible schedules. Legacy day_1/day_2 retain their historical values.\n- `Monthly`: Employees are paid once per month; use day_1 for the pay day.\n- `Quarterly`: Employees are paid every three months.\n- `Annually`: Employees are paid once per year.\n",
        "enum": [
          "Every week",
          "Every other week",
          "Twice per month",
          "Monthly",
          "Quarterly",
          "Annually"
        ],
        "readOnly": true
      },
      "Pay-Schedule-Anchor-Pay-Date": {
        "type": "string",
        "format": "date",
        "description": "The first date that employees on this pay schedule are paid with Gusto (ISO 8601 YYYY-MM-DD).",
        "readOnly": true
      },
      "Pay-Schedule-Anchor-End-Of-Pay-Period": {
        "type": "string",
        "format": "date",
        "description": "The last date of the first pay period. This can be the same date as the anchor pay date (ISO 8601 YYYY-MM-DD).",
        "readOnly": true
      },
      "Pay-Schedule-Day-1": {
        "type": [
          "integer",
          "null"
        ],
        "description": "Legacy field, retained unchanged for compatibility. The first pay day for Monthly and regular Twice per month schedules, or the first pay-period end day for flexible Twice per month schedules. Prefer the explicit pay-period fields. Do not combine day_1/day_2 with explicit fields in a request.\n",
        "deprecated": true,
        "readOnly": true
      },
      "Pay-Schedule-Day-2": {
        "type": [
          "integer",
          "null"
        ],
        "description": "Legacy field, retained unchanged for compatibility. The second pay day for regular Twice per month schedules, or the second pay-period end day for flexible Twice per month schedules. A value of 31 means the last day of the month. Prefer the explicit pay-period fields. Do not combine day_1/day_2 with explicit fields in a request.\n",
        "deprecated": true,
        "readOnly": true
      },
      "Pay-Schedule-First-Pay-Period-End-Day": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The last day (1-31) of the first pay period for a flexible Twice per month schedule; null for regular schedules and other frequencies.\n",
        "readOnly": true
      },
      "Pay-Schedule-Second-Pay-Period-End-Day": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The last day (1-31) of the second pay period for a flexible Twice per month schedule; null for regular schedules and other frequencies. A value of 31 means the last day of the month.\n",
        "readOnly": true
      },
      "Pay-Schedule-First-Pay-Period-Pay-Day": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The first pay day of the month (1-31) for Monthly and Twice per month schedules; null for other frequencies. For flexible schedules, this is independent of first_pay_period_end_day. A pay day may fall in the following month.\n",
        "readOnly": true
      },
      "Pay-Schedule-Second-Pay-Period-Pay-Day": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The second pay day of the month (1-31) for Twice per month schedules; null for other frequencies. For flexible schedules, this is independent of second_pay_period_end_day. A value of 31 means the last day of the month; a pay day may fall in the following month.\n",
        "readOnly": true
      },
      "Pay-Schedule-Name": {
        "type": [
          "string",
          "null"
        ],
        "description": "This field will be hourly when the pay schedule is for hourly employees, salaried when the pay schedule is for salaried employees, the department name if pay schedule is by department, and null when the pay schedule is for all employees.",
        "readOnly": true
      },
      "Pay-Schedule-Custom-Name": {
        "type": "string",
        "description": "A custom name for a pay schedule; defaults to the pay frequency description when none was set by the partner.\n\nWhen the partner never set a custom name (or cleared it), this field contains the auto-generated description derived from frequency and pay days (e.g. \"every 1st and 15th of the month\", \"every Friday\"). When the partner set a custom name on create or update, this field contains that value.\n",
        "readOnly": true
      },
      "Pay-Schedule-Active": {
        "type": "boolean",
        "description": "Whether this pay schedule is associated with any employees. A pay schedule is inactive when it's unassigned.",
        "readOnly": true
      },
      "Pay-Schedule-Workweek-Start-Day": {
        "description": "The day of the week that this pay schedule's workweeks start on, used for regular rate of pay overtime calculations. Null when no workweek start day has been configured (e.g. legacy pay schedules).\n",
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "Sunday",
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday",
              "Saturday"
            ]
          },
          {
            "type": "null"
          }
        ],
        "readOnly": true
      }
    },
    "securitySchemes": {
      "CompanyAccessAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Company-level authentication"
      }
    }
  },
  "paths": {
    "/v1/companies/{company_id}/pay_schedules/{pay_schedule_id}": {
      "get": {
        "summary": "Get a pay schedule",
        "parameters": [
          {
            "name": "X-Gusto-API-Version",
            "in": "header",
            "schema": {
              "type": "string",
              "enum": [
                "2026-06-15"
              ],
              "default": "2026-06-15"
            },
            "description": "Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used."
          },
          {
            "name": "company_id",
            "in": "path",
            "description": "The UUID of the company",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pay_schedule_id",
            "in": "path",
            "description": "The UUID of the pay schedule",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-gusto-rswag": true,
        "operationId": "get-v1-companies-company_id-pay_schedules-pay_schedule_id",
        "security": [
          {
            "CompanyAccessAuth": []
          }
        ],
        "description": "Returns a single pay schedule by UUID. The pay schedule object in Gusto captures the details of when employees work and when they should be paid. A company can have multiple pay schedules.\n\nscope: `pay_schedules:read`",
        "tags": [
          "Pay Schedules"
        ],
        "x-gusto-integration-type": [
          "embedded",
          "app-integrations"
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "examples": {
                  "success_status": {
                    "value": {
                      "$ref": "#/components/schemas/Pay-Schedule-Show/x-examples/success_status"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Pay-Schedule-Show"
                }
              }
            }
          },
          "404": {
            "description": "Not Found\n\nThe requested resource does not exist. Make sure the provided UUID is valid.\n",
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "value": {
                      "$ref": "#/components/schemas/Not-Found-Error-Object/x-examples/not_found"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Not-Found-Error-Object"
                }
              }
            }
          }
        }
      }
    }
  }
}
```