03-07-2022 10:03 PM
i'm currently using my Bearer token for API call using Java, but it's only valid for several hours only. i need to fix solution for this. This is not integration, my requirement is fetching data and save to the csv file. I have used for bearer token. Can someone guide me for generating permanent token or any solutions.
03-09-2022 02:39 AM
The PAK comes only with12 hours validity.
There are three ways to get an access token, but not all can be used to perform administrator level actions such as adding, updating, and removing People:
• Personal access token: PAK
• Bot token: For automated processes that do not need administrator privileges Bot
• Integration/ OAuth token: To act on behalf of someone (for example an admin user) to perform automated actions. You can generate an integration token by following the Integrations
03-07-2022 10:56 PM
Depending on your use case, you may create a bot which gives you a bot access token: https://developer.webex.com/docs/bots
That token has some limitations as it is for bot usage.
In case you want your application to behave like using the 12h developer token, you need to create an integration (https://developer.webex.com/docs/integrations), run the OAuth flow at least once. It will give you an access token along with a refresh token that can be used to renew the access token prior to its expiry.
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