Get Who Is On-Call

GET {{baseUrl}}/schedules/:schedulesID/on-call

This endpoint is used to get all the on-call users of the schedule. Requires access_token as a Bearer {{token}} in the Authorization header with schedule-read scope.

RESPONSES

status: OK

{"data":{"shift_type":"Normal Shift","users":[{"id":"60f12dd3814bef0008c4036e","first_name":"Example ","last_name":"User","email":"user@example.com","contact":{"dial_code":"+91","phone_number":"9977654321"}}]}}