# Zoom Video API - List session users get role\_type

**URL:** <https://devforum.zoom.us/t/zoom-video-api-list-session-users-get-role-type/109794>\
**Category:** Video SDK\
**Created:** [May 13, 2024, 7:30am UTC](https://devforum.zoom.us/t/zoom-video-api-list-session-users-get-role-type/109794 "2024-05-13T07:30:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![namttn](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@namttn](https://devforum.zoom.us/u/namttn)\
**Post date:** [May 13, 2024, 7:30am UTC](https://devforum.zoom.us/t/zoom-video-api-list-session-users-get-role-type/109794/1 "2024-05-13T07:30:16Z")

</div>

I’m currently working with the Zoom Video SDK API documented at [Zoom Video SDK API](https://developers.zoom.us/docs/video-sdk/apis/#operation/sessionUsers). How can I retrieve the `role_type`: (1 or 0) data from the response of this API using Node.js?  
Thanks!

```auto
{
  "page_size": 30,
  "next_page_token": "suQA5LvDBnH5No5OYD7mqpJuFzJqUOHK8U2",
  "users": [
    {
      "id": "32dsfsd4g5gd",
      "name": "exampleuser",
      "device": "Windows",
      "ip_address": "127.0.0.1",
      "location": "New York",
      "network_type": "Wifi",
      "microphone": "Plantronics BT600",
      "speaker": "Plantronics BT600",
      "camera": "FaceTime HD Camera",
      "data_center": "SC",
      "connection_type": "P2P",
      "join_time": "2019-08-20T19:09:01Z",
      "leave_time": "2019-08-20T19:19:01Z",
      "user_key": "myUserKey",
      "audio_call": [
        {
          "call_number": "4131",
          "call_type": "call-in",
          "zoom_number": "18773690926"
        }
      ]
    }
  ]
}

```
