cancel
Showing results for 
Search instead for 
Did you mean: 
Important updates from Zoom Support:
  • Starting February 3, 2025, Zoom Phone customers must add their phone numbers to an approved 10DLC campaign in order to use SMS/MMS capabilities on their numbers.

  • Introducing more live support options! More Zoom customers now have access to live agent chat support. Sign in and visit our Contact Support page to see all your available support options. We’re here to help!

Use account credentials to get an access token

ranran2121
Newcomer
Newcomer

Hi, 

I need to get the access token in order to make further requests to Zoom APIs with S2S app. I started with the request to the following endpoint

 

const resp = await axios.post(
       "https://zoom.us/oauth/token?grant_type=account_credentials&account_id=<myAccountId>";,
      {},
      {
        headers: {
          Authorization:
            "Basic <myclientId>:<myclientSecret>",  //both encoded
        },
      }
    );

 

however, despite I do NOT get an error back, this is the response

 

console.log(resp.data);

#{
  status: false,
  errorCode: -1,
  errorMessage: 'Illegal base64 character 3a',
  result: null
}

 

I encoded the <myClientid>:<myClientsecret> on a online tool and pasted the response

Could someone give me some hints about why I get this response back

1 REPLY 1

Bort
Zoom Employee
Zoom Employee

Hi @ranran2121 

 

This question would be better suited for the Zoom Developer's Forum, a dedicated forum for API, SDK, and other developer's questions. That forum can be found here: https://devforum.zoom.us/