Invalid access token for particular API endpoint

I am trying to call this API “https://api.zoom.us/v2/accounts” and it says invalid access token despite i sent the access token with the correct scope. Somehow when I tried to call another API with the same access token it does work. I am using OAuth to get the access token

Hey @fajar.widiastomo, thanks for posting and using Zoom!

In order to call the GET /accounts endpoint, you need to have a Partner Plan with Zoom.

From the docs:

“Only master accounts can create and have sub accounts. Zoom only assigns this privilege to trusted partners.”

Thanks,
Tommy