Unable to get access token using account credentials

Hi Experts,

First, I have no Dev background. Any help would be much appreciated. I need to migrate my JWT used in my Zoom/Azure auto user provisioning to Server-toServer OAuth App. I have followed this documentation in Create a Server-to-Server OAuth App.

I’m lost where it says, “Use account credentials to get an access token

On the code below, which info should I fill in to get my access token?

curl -X POST -H 'Authorization: Basic Base64Encoder(clientId:clientSecret)' https://zoom.us/oauth/token?grant_type=account_credentials&account_id={accountId}

I tried this, curl -X POST -H ‘Authorization: Basic Base64Encoder(myClientID:myClientSecret)’ https://zoom.us/oauth/token?grant_type=account_credentials&account_id=myAccountID

I’m getting an error:

no matches found: https://zoom.us/oauth/token?grant_type=account_credentials

Thanks in advance.


Hi @alc.zoom

Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!
Can you please confirm that you are using the account_id associated to your Server to Server app in your account?

Have ing the same issue here - I suspect where they have Base64Encoder(myClientID:myClientSecret) they mean actually base64 encode your client and secret - i.e. in bash

curl -v -X POST -H "Authorization: Basic $(echo -n $clientId:$clientSecret|base64)" "https://zoom.us/oauth/token?grant_type=account_credentials&account_id=$accountId

where $clientId, $clientSecret and $accountId are all set appropriately. I grabbed the accountId from using an existing JWT and calling GET /users/me, as suggested in elsewhere in the forums

Hey @upedzoomaccountadmin
Are you still having this issue?
I just posted this guide, maybe it will help you debug your issue further


1 Like