cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a 400 bad request error trying to list recordings

npsnap
Newcomer
Newcomer

Hi there,

 

I'm trying to retrieve a list of my recorded Zoom meetings using the APIs.  I have 2 accounts: a personal one and a work one.  It works for the personal account, but not the work one (for which I have Pro edition).

 

I submit a POST request to https://zoom.us/oauth/token and pass in:

HTTP Headers:

- Authorization = "Basic asdfasdfadf"

- Content-Type = "application/x-www-form-urlencoded"

HTTP Entity:

- grant_type = "account_credentials"

- account_id = "zxcvzxcvzxcv"

 

This returns the access_token which I can use in my next request which is:

GET https://api.zoom.us/v2/users/me/meetings

HTTP Headers:

- Authorization = "Bearer + access_token"

 

The above all works for my Personal Zoom account. 

 

However it fails with the following error, when I use it against my work account:

""Failed to execute the request, or the endpoint responded an error"

"Got response 400 - Bad Request from the endpoint"

 

Any ideas?

1 REPLY 1

Dee_S
Zoom Employee
Zoom Employee

Hi npsnap,

Thank you for posting this question. However, I'd like to redirect you to our Zoom Developer Community page. The Zoom Developer Community Page is where you can get great assistance on questions regarding APIs. In addition, I'd like to share our Developers Documentation page for other technical resources that may come in handy. 

Hope this helps!