How to get when the attendee left meeting

Description
What is the best way to find out how long an attendee was connected to a meeting.

Error
Not an error

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

Additional context
We have an LMS and we need to find out how long an attendee was connected to a meeting in order to determine if they will be credited for attending. For example, if a meeting is 60 minutes. We want to know if they were in meeting for 80% of the meeting (48 minutes). How can I find this for each attendee? I would like to know what time they joined and what time they left the meeting. And what would be the best place to implement this? I was thinking a webhook for the endmeeting event.

Hi @mikehan, for this, I would use the Meeting Participant Report API, which will return a duration value for each participant. If a user joins a 60 min meeting for 48 minutes, this API will show that value.