Refresh token before firing API using Webhooks by Zapier

Hi,
I need help to Refresh Token before firing the API using Webhooks by Zapier.
I have read the doc https://marketplace.zoom.us/docs/guides/auth/oauth#refreshing
but I don’t manage to get it to work.

Here are my screen shots form Zoom

I need to refresh the token in order to make my App works

Please help
Thanks

Hi @sylv1.montreuil,

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:
image

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.

Let me know if this helps to clarify,
Will

Hi @will.zoom

Thanks for your reply,
I need help. I don’t understand how to get the API response and apply it to zapier.

I understand that I need to do a GET call
just like this?

But I get this as a response

Thanks for the clarification

Hey @sylv1.montreuil,

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 know if this helps,
Will

Hi @will.zoom, Thanks for the reply

I am still stuck!

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.

They Authorize the app, then are send back to the signup form.

I am retrieving a code attached to the url, similar to this:
https://yourapp.com/?code=obBEe8ewaL_KdyNjniT4KPd8ffDWt9fGB

But I don’t know how to extract it and use it for next steps

Should I use a HTTP Make a request with Integromat or zapier, and retrieve the Url with the code in data, so I could use it for next steps?

Step 2:

Should I do a POST make a request in Integromat?

Next Steps: Using the Access token

Once I have requested an access token and received the user informations.
I want to make a POST just like I set up in Zapier. (see attached zap)

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 your help

Hi @sylv1.montreuil,

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.

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.