API Get a User -> retrieving User Id's from Emails

I’m working on this endpoint https://api.zoom.us/v2/users/{user ID} and trying to get user ids of my colleagues from their emails. I’m using Python.

Here is my request:
requests.get('https://api.zoom.us/v2/users/{email@example.com}, headers={ ‘Authorization’: 'Bearer {Token} })

But I get back a:
‘code’: 403,
‘message’: ‘Authenticated user has not permitted access to the targeted resource.’

I have developer permissions and have permission to the “entire account” for “webinars”. My role is a “developer”.

My question is, do I need different permissions to access other people’s ID through this endpoint? If so what permissions do I need?

thanks for the help in advance

Hi, You need to have user:read or user:read:admin scope. You need to create a JWT app and get the token directly from Marketplace or Create OAuth App and add a user:read (User-Level App) or user:read:admin (Account-Level App) from the Scopes tab and then authorize and get access token use that. For more please watch sessions here

Hi @mike5
To be able to query users you also need view Users permissions granted to your Developer role.
Hope this helps!