> For the complete documentation index, see [llms.txt](https://documentation.sceenic.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/async-wtsession.getsessionstate.md).

# async WTSession.getSessionState()

`async getSessionState()`

This method will retrieve actual session state from web-server

* Result has the following shape:

```
const state = WTSDK.Session.getSessionState();
// state
// {
//     participants, //Array of participants
//     sessionId, // Current session ID
// }
```
