Zoom Cloud Recordings API Token Expiry

what’s the best/most updated documentation for the Zoom Cloud Recordings API token? We’re seeing very short expiration times of the tokens (multiple times within one day), which leads me to think we probably haven’t found our way to the proper documentation.

refresh token seems to not be working properly to get new access_token as it is supposed to be

Hi @josh5 ,

Here is the most up to date Cloud Recordings API docs: Zoom Meeting API

  • Are you specifically referring to the download_access_token?
  • Can you please identify which specific endpoints and share your API request/response/screenshots with sensitive information obscured?

Thank you!

Hi Gianni. Thanks for your reply.

I am working with Josh and let me continue this ticket if you don’t mind.

Here is the scenario.
Recently, we’ve developed the zoom app which allows to download the cloud recordings of our account inside our pwa app. We’ve successfully managed to connect the zoom app via OAuth2 and was be able to down the recordings with the given access_token. After a certain period of time, the access_token expires as it is and then the pwa app would try to retrieve the new access_token with the refresh_token and save them into the db. Seems everything works fine till this point.
But the something wrong happened when trying to connect the zoom app again afterwards. The new access_token and refresh token didn’t work to connect to the zoom app and couldn’t get the recordings. All we can do is let the user authenticate the zoom again which is not the best user experience.

  • Are you specifically referring to the download_access_token?
    Yes, I am referring to the access_token for downloading the zoom cloud recordings

  • Can you please identify which specific endpoints and share your API request/response/screenshots with sensitive information obscured?

API endpoint
https://zoom.us/oauth/token?grant_type=refresh_token

Response

{
    "reason": "Invalid Token!",
    "error": "invalid_grant"
}

Hey @gianni.zoom !

Following up here after Aaron’s response. We are working on figuring this out together. Below is a screenshot of our oauth authorize requests and responses.

As Aaron mentioned above, the initial connection works great, but after the access token expires, our app tries to retrieve a new access token with the refresh token which then gets an invalid token/grant error.

Is this a known issue? Or Is it due to our implementation? (if so, what docs should we be referencing)

Thanks so much.
-josh

Heads up, this discussion forum won’t allow me to send images. I get an error saying embedding images in a post isn’t allowed.

So here are links to the two screenshots:
Screenshot 1: Screen Shot 2022-05-20 at 10.08.42.png - Google Drive
Screenshot 2: Screen Shot 2022-05-20 at 10.07.44.png - Google Drive

-josh

Hi @josh5 @aaronchildres9 ,

Ahh I see, thank you for this information. There seems to be an issue with the token tolerance and this is not expected behavior. Can you open a support ticket with the following please?:

  • production client id
  • full API request/responses w/token
  • account id
  • link to this forum post

Gianni

Thanks for the instruction @gianni.zoom

I went ahead and filed the support ticket with the requested information.

Here is the link: https://support.zoom.us/hc/en-us/requests/14411952

-josh