I am trying to use below rest api call. I tried it using both chatbot access token and JWT access token.
And in both the case i keep getting {“message”:“authorization failed:null”,“code”:7010} errors.
Basically once you install your Chatbot, you will use the code in the redirect url to request an access_token, and then you can use that to call the GET /im/users/{{ USER ID }}/channels endpoint. For example:
POST https://zoom.us/oauth/token?grant_type=code&code={{ code in redirect url }}&redirect_uri={{ your redirect url }}
Is there a simple way to get access to all of zoom rest api using one single access token. My initial understanding was, access token that is generated using chatbot app clientId and clientSecret will work for all api calls.
Can you please let me know what is the validity time of the access token that is generated? I am asking because i keep getting below message. Also i forgot to save my refresh token that was generated
{
“reason”: “Invalid request : token created error: Save Access token into Database error”,
“error”: “invalid_request”
}
The access_token lasts for 1 hour. After that you need to refresh it. Since you forgot to save the refresh token, you can start over by re installing the app.
Thanks for confirming but that approach could be a blocker in our automation process where we trying to write a java plugin which can send messages to zoom channels as a part of CI/CD flow. Is it possible to schedule a zoom call with you to explain our use case and get your inputs that can solve our problems.