Schedules
Schedules arrange the eligible members of the team into fair and balanced on-call shifts. Currently the API does not allow creating or managing schedules.
List schedules
GET
/schedules
List all schedules in the organization.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Parameters
name_eq
string
Filter by the name of the schedule
Response
List all on-calls
GET
/schedules/$id/oncalls
This method returns the list of all on-calls within the time range, and their contact information.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
time_range[start]
iso8601 datetime
Starting time range to inspect
time_range[end]
iso8601 datetime
Ending time range to inspect
Response
The response will include a stage
attribute, which determines which stage the person is in the schedule. If the person has a Slack account, the response will include the slack_user_id
. with a contact_methods
type of slack
.
Last updated