The request body should include fields such as the
team_member_id
, start_date
, end_date
, and the time recurrence parameters including months_of_year
, weeks_of_month
, week_days
, and time_range
. These options provide flexible scheduling across daily, weekly, or monthly cycles.Use cases:
- 24/7 incident coverage — Build reliable on-call rotations to ensure someone is always available to respond.
- Custom shift planning — Create unique patterns such as weekday-only coverage, weekend rotation, or split-shift assignments.
- Automated scheduling infrastructure — Power internal systems with rule-based, structured on-call assignments for each team.
To retrieve existing schedules for a customer, use the Get Customer Schedules endpoint.
Authorization: Bearer YOUR_TOKEN
Expected Behavior:
- On success, the system will create a new schedule and return a confirmation message.
- If the request is invalid, the system will return an error message with details of the invalid fields.