Description
I’ve set up a JWT app and can generate and use tokens to access, for example, https://api.zoom.us/v2/users
. But when I try to list active meetings at https://api.zoom.us/v2/metrics/meetings
I get an error. Is it possible to use this API with JWT? (and if not, how is it possible to tell from the API reference pages which can / can’t be used with JWT?)
How To Reproduce (If applicable)
Steps to reproduce the behavior:
const options = {
uri: 'https://api.zoom.us/v2/metrics/meetings',
auth: {
'bearer': token
},
qs: {
from: '2020-03-01',
to: '2020-03-31'
},
headers: {
'User-Agent': 'Zoom-Jwt-Request',
'content-type': 'application/json'
},
json: true
}
rp(options).then(result => {
console.log(result)
}).catch(err => {
console.error(err.message)
})
Error
400 - {"code":200,"message":"Only available for paid account and enabled Dashboard feature."}
Further Information
The Dashboard settings (e.g. Dashboard Home Page) seem to be associated with a Role in the account settings interface, but since this is a JWT, I’m not sure how those are connected.