Server-to-Server OAuth Grant Type

Description
Attempting to use a Server-to-Server OAuth or regular OAuth App to retrive authorization bearer token. Then use this key to authenticate to the List Users Endpoint.

Error?
Able to retrieve bearer token, however recieve a {“code”:200,“message”:“Invalid api key or secret.”} error when sending GET request to https://api.zoom.us/v2/users

API Endpoint/s?
List Users

How To Reproduce
Steps to reproduce the behavior:
1. Request URL / Headers (without credentials) / Body
URL: https://api.zoom.us/v2/users
Method: GET
Headers:
“Authorization”: “Bearer {my_token_here}”
Body: null

2. Authentication method or app type
Server-to-Server OAuth & Regular OAuth

3. Any errors
{“code”:200,“message”:“Invalid api key or secret.”}

Additional context
Have used the the three grant types as query parameters:
- grant_type=client_credentials
- grant_type=authorization_code
- grant_type=account_credentials

1 Like

Fixed by using the follow query parameters: ?grant_type=account_credentials&account_id={account_id}{account_id} can be found by making a GET request https://api.zoom.us/v2/accounts

See Getting Account ID for server-to-server OAuth