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

Encoding a customer org UUID to pass as a parameter

romcguin
Cisco Employee
Cisco Employee

Hi, this seems like a basic question, and I thought it would be easy to find the answer in the guides.

Given a customer org UUID, how do you encode it to send as a parameter in API calls as in the example below?

Thanks

romcguin_0-1745499461861.png

 

1 Accepted Solution

Mike Palkovich
Cisco Employee
Cisco Employee

Hello,

Most identifiers in the Webex API are a base64 encoded URI value composed of the scheme (ciscospark://), a cluster/region identifier(us), a resource type(ORGANIZATION) and the UUID(ORGANIZATION UUID) of the specific item/instance you are accessing.

In the case of the Organization ID's the cluster/routing identifier is always (us) however this could always change in the future. For now you could reconstruct this URI before base64 encoding it for use in the API's.

 

ciscospark://us/ORGANIZATION/{ORGANIZATION UUID HERE}

 

Otherwise if this is an Organization Administrator you can list the organizations you manage using the Organizations API's List Organizations request or as a user you can get your own Organization ID using the People API's Get My Own Details request. 

View solution in original post

1 Reply 1

Mike Palkovich
Cisco Employee
Cisco Employee

Hello,

Most identifiers in the Webex API are a base64 encoded URI value composed of the scheme (ciscospark://), a cluster/region identifier(us), a resource type(ORGANIZATION) and the UUID(ORGANIZATION UUID) of the specific item/instance you are accessing.

In the case of the Organization ID's the cluster/routing identifier is always (us) however this could always change in the future. For now you could reconstruct this URI before base64 encoding it for use in the API's.

 

ciscospark://us/ORGANIZATION/{ORGANIZATION UUID HERE}

 

Otherwise if this is an Organization Administrator you can list the organizations you manage using the Organizations API's List Organizations request or as a user you can get your own Organization ID using the People API's Get My Own Details request.