06-14-2022 03:20 AM
Hey guys,
Can i use the access token from the REST API in the XML Api aswell?
or how do i retrieve the XML access token from the XML API?
Thanks, Jonas
06-14-2022 03:27 AM
First thing to note is that the XML APIs use integrations created through this link : https://developer.cisco.com/site/webex-integration but the REST API use integrations created through https://developer.webex.com/my-apps/new/integration The basics of the two types of integrations are the same, in regards to how you would go through OAuth to generate an access token, but the scopes that can be applied to them are completely different.
Cisco DevNet Meetings Integration/OAuth 2.0:
https://developer.cisco.com/docs/webex-meetings/#!integration
Webex Integration/OAuth 2.0:
https://developer.webex.com/docs/integrations
06-14-2022 04:08 AM - edited 06-14-2022 04:09 AM
And why do two different sites need to exist? aren't both
Webex Integration/OAuth 2.0:
and
Cisco DevNet Meetings Integration/OAuth 2.0:
getting used for the same purpose.
When should i use one or the other?
06-14-2022 04:49 AM
The integration concepts for both are similar but they were built for different reasons and with different goals. The XML APIs were originally built to be used with older Site Administrator managed sites, they later were made forward compatible with Control Hub managed sites (through linked sites), but only for Meetings APIs. REST APIs were developed directly for Control Hub managed sites.
As Patience mentioned, they also differ in terms of the scopes that can be assigned. The REST API's OAuth integration does not contain all scopes that XML APIs require, and vice versa the XML API's OAuth Integration does not contain all scopes that REST APIs require. So they needed to be kept separately.
If you are planning to use XML APIs, you use https://developer.cisco.com/docs/webex-meetings/#!integration . When planning to use REST APIs, you use https://developer.webex.com/docs/integrations .
06-14-2022 04:55 AM
Is there a solution for all sites? Not only Control Hub managed or not?
Because private users won't have a control hub managed site, or am i wrong?
As well as company users won't use their private accounts.
06-14-2022 05:06 AM
There is no integration solution for both, they are completely separate. REST APIs will eventually replace XML APIs, they weren't built at the same time and so do not share the same OAuth.
I'm not sure what you mean by 'private users', do you mean non-webex account users or guest users created through a guest issuer app? Those wouldn't have any ability to authorize any webex integration, only webex users can do that.
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