News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
GLIP - Get Team Members
Tags: rest api
Mar 31, 2020 at 1:22pm   •   1 replies  •  0 likes
doug-routledge

There current are API calls that let you list the Teams, Add or Remove Team members, but where is the call to list the Team members. A roster of users in a Team would be valuable for programs that want to integrate with Glip.

1 Answer
answered on Mar 31, 2020 at 2:09pm  

For now, you still can use this endpoint "/restapi/v1.0/glip/groups/[teamId]" to read team's members. The API is marked as deprecated though. I will check to see why the new API is missing and update the answer when I get the info.


 0
on Mar 27, 2022 at 4:04am   •  0 likes

Any update? https://platform.ringcentral.com/restapi/v1.0/glip/groups?type=Team is marked as obsoleted/beta. Can we use this API?

It looks like https://platform.ringcentral.com/restapi/v1.0/glip/recent/chats?type=Team can be used to retrieve similar list of Teams . Still it is not clear how to retrieve members. https://platform.ringcentral.com/restapi/v1.0/glip/chats/ChatId does not return members - although is should per RingCentral API documentation.

on Mar 29, 2022 at 10:32am   •  0 likes

I recommend no using this endpoint ( /restapi/v1.0/glip/groups?type=Team ) anymore.

Use the Get Teams, Get Chats, Get Conversations instead.

on Apr 10, 2022 at 1:48am   •  0 likes

Thanks for the comments. We need API to view list of team members.

Please note that Get Teams, Get Chats, Get Conversations do not return list of team members...However, https://platform.ringcentral.com/restapi/v1.0/glip/groups?type=Team which is marked as obsolete returns list of team members.

https://platform.devtest.ringcentral.com/restapi/v1.0/glip/chats/chatId which shall return members per RingCentral documentation, does not return team members.

So which API shall we use to retrieve list of team members?

on Apr 11, 2022 at 9:28am   •  0 likes

Get Chat(s) and Get Conversation(s) do return the `members` array. Only Get Team(s) does not return. I am checking with the team to see what is an official way to read team's members.

on Apr 14, 2022 at 2:50am   •  0 likes

Thanks for the comments.

I am sorry, but I do not see that Get Chat(s), Get Conversation(s) return team members. Only the obsoleted API - https://platform.ringcentral.com/restapi/v1.0/glip/groups?type=Team seems to return Team members.

on Apr 14, 2022 at 7:17am   •  0 likes

Here is the sample code in Node JS

...
read_glip_chats("")

async function read_glip_chats(pageToken){
    var endpoint = "/restapi/v1.0/glip/chats"
    var params = {
      recordCount: 250,
      pageToken: pageToken
    }
    try{
      var resp = await platform.get(endpoint, params)
      var jsonObj = await resp.json()
      for (var record of jsonObj.records){
        console.log(record) 
      }
      if (jsonObj.navigation.prevPageToken)
        read_glip_chats(jsonObj.navigation.prevPageToken)
    }catch(e){
      console.log(e)
    }
}

// example response
{
  id: '1151138168834',
  type: 'Direct',
  members: [ { id: '62288329016' }, { id: 'glip-1429807833091' } ],
  creationTime: '2022-02-03T01:08:33.119Z',
  lastModifiedTime: '2022-02-03T01:08:33.119Z'
}


on Mar 1, 2021 at 10:48am   •  2 likes

"/restapi/v1.0/glip/groups/[teamId]" is still working, but is there any news on a non-deprecated API for getting a Team's member list?



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us