Using this template helps us debug your issues more effectively
Description
Am integrating zoom in my Nodejs application. Calling /accounts
api with jwt authentication but always getting Invalid access token
.
Error
{ code: 124, message: ‘Invalid access token.’ }
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
/accounts
How To Reproduce (If applicable)
Steps to reproduce the behavior:
This is my request options
const options = {
method: ‘get’,
baseURL: ‘https://api.zoom.us/v2’,
url: ‘/accounts’,
qs: {
status: ‘active’,
},
data: {
‘first_name’: ‘rukhsar’,
‘last_name’: ‘ch’,
‘email’: ‘chrukhsar631@gmail.com’,
‘password’: ‘123456’,
},
auth: {
‘bearer’: ‘yourtokengoeshere’,
},
headers: {
‘User-Agent’: ‘Zoom-Jwt-Request’,
‘content-type’: ‘application/json’,
},
json: true,
}