I’m having trouble understanding authorization/permissions.
I’ve created a Server-to-Server OAuth app and am trying to manage chat channels in it via the REST API (POST /v2/chat/users/{userId}/channels
), using my account_id
in the App Marketplace as the userId
. I get a 401 Unauthorized
error.
I first get a token via a POST /oauth/token
call — this call succeeds and returns some token that looks normal…
Hi @shikhalev
Thanks for reaching out to us and welcome to the Zoom developer Forum!
For user ID you should not pass your account ID but your userID.
You can get a list of all user IDs in your account using the Get users endpoint
A request to the https://api.zoom.us/users
endpoint returns 401, and to the https://api.zoom.us/chat/users
endpoint — 404…
Hi @shikhalev
The https://api.zoom.us/v2/
URL is the request base URL, the one you are using is incorrect. Please review our Docs here: