Create a new pay schedule
Changed onIf a company does not have any pay schedules, this endpoint will create a single pay schedule and assign it to all employees. This is a common use case during company onboarding.
If a company has an existing active pay schedule and want to support multiple pay schedules, this endpoint will create a pay schedule that is not assigned to any employee.
Be sure to check state laws to know what schedule is right for your customers.
If an onboarded company misses their first pay date, Gusto will automatically adjust the pay schedule to the next available pay date.
Webhooks
- pay_schedule.created: Fires when a pay schedule is successfully created.
Related guides
- Create a pay schedule
- Pay Schedules
- Manage Pay Schedules via API
scope: pay_schedules:write
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
Headers
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Request body
Example request
{
"frequency": "Twice per month",
"anchor_pay_date": "2020-05-15",
"anchor_end_of_pay_period": "2020-05-08",
"day_1": 15,
"day_2": 31,
"custom_name": "demo pay schedule",
"workweek_start_day": "Monday"
}Response
Created
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
request property
deprecated - info
request property
deprecated - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
day_1deprecated - info
response property
day_2deprecated
- info