cancel
Showing results for 
Search instead for 
Did you mean: 
2025 CMX Awards

The Zoom Community is nominated for the 2025 CMX Community Industry Awards in the Customer Support Community category!

Vote now

Access Token expires after one hour when we are using Named Credentials in salesforce.

ayub1
Newcomer
Newcomer

I have created an OAuth Provider and Named Credentials in salesforce, I am able to get voice call data from zoom contact center using Access Token, but my AccessToken gets expired after a one hour.

 

Error : -  {"code":124,"message":"Access token is expired."}


Request: -  System.HttpRequest[Endpoint=callout:Zoom_Credential/contact_center/voice_calls?from=2025-01-06T13%3A00%3A07Z&to=2025-01-07T13%3A00%3A07Z&page_size=100, Method=GET] 

 

Thanks

1 REPLY 1

Vinnie
Community Champion | Customer
Community Champion | Customer

Hello @ayub1 

As far as I know this is normal. You need to Refresh the Access Token every 60 minutes; there must be something in SalesForce that would allow you to do this.

Check this Zoom documentation about Expired Tokens and Refresh:

https://developers.zoom.us/docs/api/

 

I think this is a question that might be better answered in the Zoom Developer Forum. If you are interested, here it is the link:

https://devforum.zoom.us/

 

If this helps answer your question, please mark as "(Accept as Solution)"

 

Vinnie