Get 'n' longest zoom sessions by participants

What is the best way to go about creating a leaderboard of participants from a zoom meeting based on their longest continuous session in a meeting in one week (any rolling 7 day period)?

Which App Type (OAuth / Chatbot / JWT / Webhook)?

Additional context
I was originally thinking of doing this with event subscriptions, using the participant join event and participant leave event to keep track of the longest session, but I don’t know if there is a better way, or if there is a way to accomplish this with historical data. The meetings are open 24/7.

Hi @maheshkumar.natamai,

For this, I would recommend leveraging our List Meeting Participants API:

This endpoint returns a join and leave time for each participant, and can be called on Live meetings as well as past meetings.