ringcentralglip

How can I search for team members and add/remove from Glip teams?


I need to find organization members and add/remove them from Glip teams.

There is also an API to update Group members using the personId and email properties, but no info on how to search or get a list of personIds for the organization.

In the API Reference, I found an API to list teams but not to list people.

Is there a way to list organization members and add/remove them from Glip teams?


Solution

  • To get a list of Glip organization members, use the Directory Entries API to search and list company contacts. The user id returned in the Directory Entries API is the same as used for the Edit Group Members API.

    Search or list company contacts using the following APIs:

    Use the returned user objects' id property with the Edit Group Members API in the addedPersonIds and removedPersonIds properties.