To answer my own questions for those coming later:
- To end a session we can use Zoom Video SDK API’s Update Status
- You can calculate duration of the (live) session from the Get Session by id API, and then calculate it from the start time
- If you want to get duration of the specific participant of the session, you can integrate webhooks, and then add some logic there.
- Still haven’t figured out how I can limit it to only specific users from the backend. So any answers are appreciated.
Thank you @ojus.zoom for pointing me in the right direction