How to get zoom user ID

Hi Zoom team,
I am trying to get zoom user ID via rest api but i am getting this error.

Request : https://api.zoom.us/v2/users/mubashshir.shaikh@jackys.com

Error :
{

"code": 124,

"message": "Invalid access token."

}

Your urgent help is required.

Kind regards,
Mubashshir

Hey @mubashshir.shaikh,

Thank you for reaching out to the Zoom Developer Forum. This error typically happens when the authentication for a request is failing. What authentication method are you using and how are you generating the token? Please make sure that you are following the steps in either our JWT or OAuth guides to authenticate with the API.

I hope that helps! Let me know if you have any questions.

Thanks,
Max

Hi MaxM,

Thanks for your reply.

I am trying to use to zoom android sdk for non-loign users.

I need 2 informations to run that app but i am getting issues in getting informations listed below.

  1. USER_ID

  2. ZOOM_ACCESS_TOKEN

Can you guide me how to obtain these info?

Kind regards,
Mubashshir

Hey @mubashshir.shaikh,

Thank you for providing additional information. This issue seems like it would be a better fit for our #client-mobile-sdk category but I’ll work to assist you as best as I can before moving this post to that category.

When it comes to obtaining the USER_ID and the ZOOM_ACCESS_TOKEN, we have information in this document covering how that can be done. I’ve included a snapshot below:

I hope that helps!

Thanks,
Max