09-03-2023 10:06 AM
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?
Solved! Go to Solution.
09-04-2023 12:46 AM
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.
09-04-2023 02:21 AM
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
09-04-2023 04:00 AM
Yes, if you do not wish to look at power pack this is best way imo.
Glad to help.
09-04-2023 12:46 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide