cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
277
Views
1
Helpful
2
Replies

How to get short ORG ID from long orgId?

YukioHashimoto
Level 1
Level 1

Hello. Experts,

Are there any ways to reverse lookup to get short ORG-ID displayed in Control Hub from  long ORG-ID starting with "Y2lzY29zcGFyazovL3..." used in Webex API?

We would like to do the reverse way of the following operation:

ORG-ID displayed  in Control Hub: 42840e74-06a1-8888-b8c6-98a416dXXXXX

curl -L --request GET \--url https://webexapis.com/v1/organizations/42840e74-06a1-8888-b8c6-98a416dXXXXX

{

"id": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi80Mjg0MGU3NC0wNmExLTQxNDEtYjhjNi05OGE0MXXXXXXXXXX",

"displayName": "XXXXXX",

"created": "2025-06-23T14:21:14.601Z"

}

 

1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

@YukioHashimoto 

To reverse lookup the short ORG-ID from the long ORG-ID used in Webex API, follow these steps:

  1. Decode the long ORG-ID:

    • Base64Url decode the long ORG-ID. The decoded string will be formatted as follows: ciscospark://us/ORGANIZATION/{IdentityOrgUUID}.
  2. Extract the Common Identity Organization ID:

    • Remove the ciscospark://us/ORGANIZATION/ prefix from the decoded string to leave the Common Identity Org UUID. This UUID is the short ORG-ID displayed in Control Hub.

For example:

  • Long ORG-ID: Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi80Mjg0MGU3NC0wNmExLTQxNDEtYjhjNi05OGE0MXXXXXXXXXX
  • Decoded string: ciscospark://us/ORGANIZATION/42840e74-06a1-8888-b8c6-98a416dXXXXX
  • Short ORG-ID: 42840e74-06a1-8888-b8c6-98a416dXXXXX

Also wanted to let you know about our new AI Assistant, available on our Developer Portal. To open it click on the blue circle next to your profile image or use this address developer.webex.com/?ai-assistant-is-docked-window=true and to find out more about our AI Assistant, go to developer.webex.com/admin/docs/webex-aI-assistant-for-develope. It’s a great tool for quickly finding information, answering common questions, or navigating resources. Feel free to give it a try!

View solution in original post

2 Replies 2

Janos Benyovszki
Cisco Employee
Cisco Employee

@YukioHashimoto 

To reverse lookup the short ORG-ID from the long ORG-ID used in Webex API, follow these steps:

  1. Decode the long ORG-ID:

    • Base64Url decode the long ORG-ID. The decoded string will be formatted as follows: ciscospark://us/ORGANIZATION/{IdentityOrgUUID}.
  2. Extract the Common Identity Organization ID:

    • Remove the ciscospark://us/ORGANIZATION/ prefix from the decoded string to leave the Common Identity Org UUID. This UUID is the short ORG-ID displayed in Control Hub.

For example:

  • Long ORG-ID: Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi80Mjg0MGU3NC0wNmExLTQxNDEtYjhjNi05OGE0MXXXXXXXXXX
  • Decoded string: ciscospark://us/ORGANIZATION/42840e74-06a1-8888-b8c6-98a416dXXXXX
  • Short ORG-ID: 42840e74-06a1-8888-b8c6-98a416dXXXXX

Also wanted to let you know about our new AI Assistant, available on our Developer Portal. To open it click on the blue circle next to your profile image or use this address developer.webex.com/?ai-assistant-is-docked-window=true and to find out more about our AI Assistant, go to developer.webex.com/admin/docs/webex-aI-assistant-for-develope. It’s a great tool for quickly finding information, answering common questions, or navigating resources. Feel free to give it a try!

@janos 
Thank you!  It worked well.