How to get who is the next person on call?

Hey there!

I’m trying to use the /oncalls endpoint to get the user who is on call “today” but also I want to know who is next for a specific schedule id.

Im trying to understand how the earliest param work, but Im not so sure if Im using it correctly.

Right now what Im doing is to add x number of days to the until param and try to infer the next user from that list. But I was wondering if there is a better way of getting it.



Thank you for reaching out on our Community Space. This is the best way to do this you can also use the ‘get schedule’ to list specific schedules which may also help you here -


John O’Donnell
Team Lead, EMEA

Hi John,

Thanks for answering, but Im not really sure what you mean with that. Im trying to get who is on call today, and who will be next for an specific schedule. Using /schedules doesn’t give me that…

Hi Emiliano,

I followed up with you on this in your ticket. Feel free to respond with any additional questions there!


Cassie Champagne
Technical Support Specialist
PagerDuty Support

Hi , you can try for this, it allows maintaining schedules from slack itself