URL parameters
The ID of the on-call schedule you want to create the event for. Use default to refer to the default on-call schedule for the team.
Headers
Bearer $TOKEN
Body parameters
Required if using global API token to specify the team which should own the resource.
List of email addresses of users to include in the on-call rotation schedule
The length of the specified rotation period, must be an integer
The rotation interval, must be one of: hour, day, week
Start time of the rotations
End time of the rotations
Time zone the rotation's start time and working hours are interpreted in, for example Europe/Prague. Omit it and the rotation keeps the time zone it already had. Only a rotation that has never had one falls back to UTC.
List of windows during which the rotation pages anyone, one object per day and window with day, start_time and end_time. day is one of sunday, monday, tuesday, wednesday, thursday, friday, saturday. Times are HH:MM on a 24-hour clock. An end_time that is not after start_time runs overnight, so 00:00 to 00:00 is the whole day. Several windows on one day are allowed. Omit the parameter for a rotation that is active around the clock. Omitting it on a rotation that has working hours removes them. See example below.