On-call
Add a rotation layer
New layers go below the existing ones unless position is given. Participants must be members of the team (422).
post/on-call-schedules/{schedule}/rotations
Request
- Base URLhttps://api.spectate.net/v1
- AuthHTTP bearer
Path parameters
schedulestring uuid required
Schedule ID.
Request body
Example request
{
"name": "Weekly primary",
"shift_length": 1,
"start_date": "2026-11-02",
"handoff_time": "09:00",
"restrictions": {
"start_time": "09:00",
"end_time": "17:00"
}
}Response
The new rotation layer.
Example response
{
"name": "Weekly primary",
"shift_length": 1,
"start_date": "2026-11-02",
"handoff_time": "09:00",
"restrictions": {
"start_time": "09:00",
"end_time": "17:00"
},
"participants": [
{
"name": "Jane Doe",
"email": "jane@example.com"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.