cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
431
Views
2
Helpful
3
Replies

Add multiple members to a webex space via API

prsuthar
Cisco Employee
Cisco Employee

As we know, with https://webexapis.com/v1/memberships API, we can create a new membership in a Webex space.

{
  "roomId": "Y2lzY29zcGFyazovL3VzL1JPT00vYmJjZWIxYWQtNDNmMS0zYjU4LTkxNDctZjE0YmIwYzRkMTU0",
  "personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
  "personEmail": "john.andersen@example.com",
  "isModerator": true
}

 I do not see here adding multiple members simultaneously.
Is there an API via which we can add multiple members in a Webex space?

1 Accepted Solution

Accepted Solutions

As far as i know the membership /memberships API I https://developer.webex.com/docs/api/v1/memberships/create-a-membership is designed to handle individual personId calls only. Each API request can only add one user at a time.

However, if you want to add multiple users or bulk users to either a new or an existing space, 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. I have seen others comment they can do thisusing the Power Pack available at https://power-pack.io/

 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

3 Replies 3

As far as i know the membership /memberships API I https://developer.webex.com/docs/api/v1/memberships/create-a-membership is designed to handle individual personId calls only. Each API request can only add one user at a time.

However, if you want to add multiple users or bulk users to either a new or an existing space, 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. I have seen others comment they can do thisusing the Power Pack available at https://power-pack.io/

 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

prsuthar
Cisco Employee
Cisco Employee

Thank you for suggesting a power pack for Webex.
Actually, I was looking better and simplistic approach to add bulk users at the same time to a space via an API. 
As the option is not here to add bulk users in a single go, I think should go with looping only then.
Thank you for confirming

Yes, if you do not wish to look at power pack this is best way imo.

Glad to help.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io