03-13-2023 01:58 AM
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
03-13-2023 03:07 AM
@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.
03-13-2023 02:17 AM
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?
03-13-2023 02:41 AM
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.
03-13-2023 03:31 AM
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.
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