cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1002
Views
0
Helpful
4
Replies

webex integration, how do I get a token request permission code from J

sowler
Level 1
Level 1

Hello, I have a third-party application that needs to call webexapi. How can webex get code value through restful interface call after integrating this application? Instead of accessing the code on the web side of the browser. Request permission to: https://webexapis.com/v1/authorize

4 Replies 4

Janos Benyovszki
Cisco Employee
Cisco Employee

@sowler Webex APIs to not have a permanent token. The closest to that is a bot token, that is valid for ca. 100years, but it cannot do certain tasks, like administrative requests. For user token, you should use OAuth and periodically refresh the access token with the refresh token. This action will keep the refresh token valid as well, so you can do this refresh technically perpetually.

dtibbe
VIP
VIP

The API supports permanent tokens for bot usage (https://developer.webex.com/docs/bots) or renewable, personal tokens via integrations (https://developer.webex.com/docs/integrations).

What is your use case for that?

Third-party applications interface API calls to create meeting (https://developer.webex.com/docs/api/v1/meetings/create-a-meeting),which need the token.How do I get a permanent token.

If you need to create a meeting, a bot token will not work as it cannot have a meeting license assigned. So you need to build an integration as described in the linked article. By using the refresh token, you do not need to rerun the whole oauth flow again, you can simply renew the existing token.