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.