diff --git a/docs/dev-guide/iframe-functions.md b/docs/dev-guide/iframe-functions.md index d0e7e973f..bf4edce6d 100644 --- a/docs/dev-guide/iframe-functions.md +++ b/docs/dev-guide/iframe-functions.md @@ -182,6 +182,18 @@ Response example structure: } ``` +### getSessionId + +Returns the meting's unique Id (`sessionId`). +Please note that the `sessionId` is not available when in prejoin screen and it's not guaranteed to be available immediately after joining - in which cases it will be empty. + +```javascript +api.getSessionId().then(sessionId => { + //sessionId: string + ... +}); +``` + ### getVideoQuality Returns the current video quality setting.