cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
813
Views
0
Helpful
4
Replies

Adding Multiple Users to a space.

Patience Umoru
Cisco Employee
Cisco Employee

Hey team, do you know if there is any way to add multiple users to a Webex space using one API call? When testing /v1/memberships it seems to take only one ID or Email address into personId or personEmail.

4 Replies 4

Does this limitation still remain today?

When trying to process memberships in bulk programmatically, the public API endpoint requiring hours to walk large membership lists is really frustrating. Not to mention the fact that you end up with a bunch of join tombstones in the space in question as people leave in the middle of the operation:

FredNielsenePlus_1-1704313906366.png

Clearly there are private API endpoints that can do this in bulk quickly - since the app can do it, and powerpack can do it...

Hi @Fred Nielsen (ePlus),
Yes, still this /create-a-membership API doesn't work with bulk membership creation.
It only takes the person details one-by-one and create the membership in a space.
Still we'd say PowerPack is the solution for this and this is one of those critical purposes why PowerPack was designed.
Let us know in case you've any further queries.

Regards!
Sandip

hazeena farook
Cisco Employee
Cisco Employee

From an API point of view, the /memberships API is the only one available to add users/members to a space/room. This API only allows to add one user at a time, per API call. If you would like to add multiple users then you could create a script where the API is called on a loop, but it can only add one at a time, or per request made.

Patience Umoru
Cisco Employee
Cisco Employee

Thats correct! The (membership) API https://developer.webex.com/docs/api/v1/memberships/create-a-membership does not accept multiple personId call. This API only allows to add one user at a time, per API call.  But you can add multiple users/bulk users to a new or existing space using the Power Pack https://power-pack.io/