Logo
Zoom Public API Documentation

Get access token

POST https://zoom.us/oauth/token?grant_type=account_credentials&account_id=gYz8S9w5Q5yrDoIvmdClYw

Get Access Token

Use the account_id you got from you S2S OAuth app credentials (or the Get a user API endpoint request in the folder) for the account_id value under the Params tab.

Navigate to the Auth tab and under Basic Auth fill in the following account credentials from your Server-to-Server OAuth app:

  • Username: [Client_ID]
  • Password: [Client_Secret]

Remember, you can always use the [collection variables] feature and syntax within Qodex or directly paste those values in the respective form fields if you do not wish to edit/use the global variables feature.

🚨 There are no refresh tokens for Server-to-Server OAuth app type. To get a new access token, your app should call the /oauth/token endpoint again with the account_credentials grant.

Alternatively, you can clear the Auth tab fields, and use the Headers tab per our Zoom documentation.

If you go this route, make sure to re-check the Headers key-value field boxes and Base64-encode your Client_ID:Client_Secret (with the colon between the two and no spaces) before pasting in the Authorization value field.

Once you're done, send the POST request to https://zoom.us/oauth/token (already pre-populated in this request for you).

The successful response will be the access token, which is a Bearer token type that expires in an hour, with the scopes that you chose in your app settings screen:

{
      “Access_token“: String,
      “Token_type”: “bearer”,
      “Expire_in”: long,
      “scope” : [String]
}


Developer Documentation:

 

Body PARAM

Key Datatype Required Description 
grant_type
string
account_id
string



HEADERS

Key Datatype Required Description 
Authorization
string The string Basic with your Client ID and Client Secret separated with colon (:), Base64-encoded.




RESPONSES

status





Curl
curl -X POST 'https://zoom.us/oauth/token?grant_type=account_credentials&account_id=gYz8S9w5Q5yrDoIvmdClYw?grant_type=account_credentials&account_id=gYz8S9w5Q5yrDoIvmdClYw' -H 'Authorization: Basic [Client_ID:Client_Secret Base64-encoded]'

ENDPOINTS