ā11-13-2023 10:01 AM
I have a weekly list of about 100 CCW Subscription IDs that I need to get the Control Hub Org IDs for.
I can search Partner hub for the subscription, open their Control Hub and go to 'account' and copy the Org ID from there, but it seems the APIs should have a faster way, either one-by-one or as a list.
Any ideas?
I have rudimentary Python skills and advanced Excel skills, if either of those is a good path. And also, I plan to grab more fields once I get rolling. 'Reporting' is the main function.
ā11-14-2023 03:38 AM
@Phig Newton can you check the orgs API here https://developer.webex.com/docs/api/v1/organizations/list-organizations ? If you are a partner for those orgs, you should be able to list them.
ā11-14-2023 06:52 AM
Thanks. That's a start, but I'm looking for a list of Subscription IDs with Org IDs, like this:
A full list would best.
Searching by Sub would be good too.
ā11-16-2023 03:07 AM
The closest API we to allow this, is the /list-licenses API. You can List all subscription IDs by orgId. It also returns the name of the subscription.
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