Rest api with OAuth failed with 400 error

Description
I create an Oauth user-manage app, with secret Id/Secret and scopes add.
Following the steps at https://marketplace.zoom.us/docs/guides/auth/oauth
I get token successfully after step 2
But when using the token with Get method as

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

are all failed.

Error

Http Response Status Code: 400
{“code”:200,“message”:“Invalid api key or secret.”}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
.

Which Endpoint/s?
/v2/accounts/me/meetings?page_number=1&page_size=30&from=2020-01-01

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body
  2. See error

Screenshots (If applicable)

Additional context
Add any other context about the problem here.

Hey @alan.chen,

Looks like your access_token is correct, however, to call the accounts endpoints you need to be a Zoom partner.

From the docs:

“Only Master Accounts can create and have Sub Accounts. Zoom only assigns this privilege to trusted partners and only approved partners can use this API. Contact isv@zoom.us if you are interested.”

Thanks,
Tommy

Thanks for your reply. For Master Account, do you means the admin/owner account? Meanwhile if our admin/master account create a JWT app and generate API key/secret and notification Token, it that not enough to call api get meeting/participates info or register Webhook? What’s the trusted partner refer to here? any steps we need follow to be a trusted partner?

Hey @alan.chen,

Only for the /accounts/* endpoints do you need to contact isv@zoom.us for trusted partner and master account plans.

You can call meeting and participants endpoints and webhooks (some for free) with the Pro and above plan.

Thanks,
Tommy

Thanks,
Tommy

Thanks for clarify this. It sounds good enough without /accounts/* endpoints for now.

1 Like

Happy to help!

Let us know if you have additional questions!

Thanks,
Tommy