In order to refresh an access_token, you will need to grab the refresh_token value from the API response of your original request to retrieve a token:
You will then pass this refresh_token value as a query param in a subsequent request to this endpoint: https://zoom.us/oauth/token?grant_type=refresh_token&refresh_token=<value>
Refreshing an access token requires its own API request. Please keep in mind that each time you get an access_token or refresh a token, a new refresh_token value will be returned, so you will need to make sure you’re always using the latest value.
Thanks for sharing this. I think part of the issue here might be that you’re trying to complete this initial step in Zapier, instead of in the browser. This first step in getting the access_token and refresh_token is a one time manual step that is completed by going to the URL you construct using those query params shown in your screenshot.
Once you get the code by navigating to the URL in the browser, you should then be able to complete steps 2 and 3 (refresh) programmatically.
Let me explain what I am trying to achieve:
We are developing an Online teaching platform the connect Teachers and Student for different classes.
Step 1:
The teacher should be on a Zoom Pro plan and activate the app by clicking (Accept Zoom App) and accepting the following address (Local test for now)when they signup as teachers.
https://api.zoom.us/v2/users/{user email}/meetings
and in Headers
{
“Authorization”: “Bearer eyJhbGciOiJIUzUxMiIsInYiOiIyLjAiLCJraWQiOiI8S0lEPiJ9.eyJ2ZXIiOiI2IiwiY2xpZW50SWQiOiI8Q2xpZW50X0lEPiIsImNvZGUiOiI8Q29kZT4iLCJpc3MiOiJ1cm46em9vbTpjb25uZWN0OmNsaWVudGlkOjxDbGllbnRfSUQ-IiwiYXV0aGVudGljYXRpb25JZCI6IjxBdXRoZW50aWNhdGlvbl9JRD4iLCJ1c2VySWQiOiI8VXNlcl9JRD4iLCJncm91cE51bWJlciI6MCwiYXVkIjoiaHR0cHM6Ly9vYXV0aC56b29tLnVzIiwiYWNjb3VudElkIjoiPEFjY291bnRfSUQ-IiwibmJmIjoxNTgwMTQ2OTkzLCJleHAiOjE1ODAxNTA1OTMsInRva2VuVHlwZSI6ImFjY2Vzc190b2tlbiIsImlhdCI6MTU4MDE0Njk5MywianRpIjoiPEpUST4iLCJ0b2xlcmFuY2VJZCI6MjV9.F9o_w7_lde4Jlmk_yspIlDc-6QGmVrCbe_6El-xrZehnMx7qyoZPUzyuNAKUKcHfbdZa6Q4QBSvpd6eIFXvjHw”
}
taken from the result of last steps.
I don’t know if I make myself clear, but I have been struggling on this for 1 month and don’t know how to move forward, I really need help setting this up.
Thanks for reaching back out about this—I just emailed you from our Developer Support alias to set up some 1:1 time to debug this. I’ll continue the conversation with you there.