You can try using webhooks to listen for the user joined event. This allows the Backend to more accurately determine the right timing to call the API.
As I understand it, a webhook is similar to an API in that it is not real-time and does not reflect user joins instantly. Therefore, it seems that a webhook may not meet our business requirements.
We recommend querying the active sessions after the session has been running for at least 10 seconds.
Besides this initial session creation case, are there any other scenarios where we should expect a delay before calling Zoom APIs (e.g., /videosdk/sessions/{sessionId}/users) in order to get accurate session data?
In particular, after a user reconnects to a session (e.g., following a network interruption), is it necessary to wait a few seconds before calling /videosdk/sessions/{sessionId}/users to ensure the participant list is up to date?