401 error when calling the accounts api of v2

First, I generated the token using my key and secret.

and then I used the generated token to call the api

and met the 401 unauthorized error. But I did provide the token, and my key and secret are valid. Somebody help me please. Thanks in advance.

Please get a token from https://jwt.io, then test again.

I did generate a token first. And I did it as the zoom api doc told me. Please take a look at my first picture.

Do I have to pay some money to use the api??? I really don’t know what’s the problem. Because I’ve done exactly as the api said. : (

Please provide the response error message?

the api is:https://api.zoom.us/v2/accounts?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJfODJramgtTlRzQ3B6NGpfT090bDJ3IiwiaWF0IjoxNTE2MDAwMTIzLCJleHAiOjE1MTYwMDM3MjN9.HIgtraVudNPfmBVVV_eExT1ZPi7niDQPWNKaxv1RdsU

the status is: 401 Unauthorized

and the returned json is:

{
  “code”: 124,
  “message”: “Invalid access token.”
}

you can try it with POSTMAN.

strange thing!

when I called this api:

https://api.zoom.us/v2/users?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJfODJramgtTlRzQ3B6NGpfT090bDJ3IiwiaWF0IjoxNTE2MDAwMTIzLCJleHAiOjE1MTYwMDM3MjN9.HIgtraVudNPfmBVVV_eExT1ZPi7niDQPWNKaxv1RdsU

it worked well! 

This API is used for master account to list all the sub accounts, only available for paid master account. You can test other APIs.

We will update the error message. 

THANK YOU SO MUCH!!!

This problem has been bothering me for quite a while. Thank you for your explanation.