I want to fully automate the process of obtaining a SuperOffice access token using only Superoffice APIs. Currently, I have to manually log in to the DevNet portal (https://devnet-tools.superoffice.com/account/signin) and copy the access token into my system. I would like to replace this manual step entirely by programmatically exchanging my client_id and client_secret (or a refresh token, if supported) for an access token via API calls, so that my system can retrieve and refresh tokens automatically without any manual intervention.
I have found this documentation: SuperOffice GetAccessToken API, but I don’t understand what the AppToken is and how to obtain it. How can I use this API to automate access token retrieval in my system?
All Replies (1)
Hi Erika,
take a look at the bottom of this page: https://docs.superoffice.com/en/api/netserver/authentication/online/sign-in-user/auth-code-flow.html
Once you have a refresh_token you can use it to get a new access_token.