Find the Zoom UUID Account ID

Meeting SDK JWT → to OAuth
As the JWT authentication is due to deprecate in June 23, we are currently migrating our meeting SDK to use OAuth. We want to use a server to service OAuth app and for testing purposes wanted to call the oauth/token endpoint, as described in your docs to retrieve an token.

We were trying to curl the endpoint locally, using an Account id, a Client id and Client secret

curl -X POST -d 'grant_type=account_credentials' -d 'account_id=123456789' -H 'Host:' -H 'Authorization: Basic redacted=='

When calling the endpoint we got a 400 error with the reason.

{"reason":"unsupported grant type","error":"unsupported_grant_type"}

Troubleshooting Routes
We messaged the zoom support, who told us we should use a UUID Account ID instead of the numeric ID
We tried to find the UUID in our account settings and inside the SDK app credentials but couldn’t find it
The zoom support team referred us to the developer forum for more information

How To Reproduce
Steps to reproduce the behavior including:
1. Try curling the above endpoint using a numeric account id
2. unsupported grant type
3. Browser/client type shouldn’t matter, same result with Postman

1 Like

I did find an explanation on who to find the Account ID using the Zoom API.
But in order to call the Zoom API I need an auth token, which i can get via calling /oauth/token (above POST call) which requires me to have a Account ID.
Please tell me I’m wrong but this sounds like a chicken-egg situation - I need one to get the other…