Zoom Government OAuth endpoint and API endpoint

I am working on a Zoom connector recently which uses OAuth and Zoom API to access Zoom service.

Initially, the test is with normal zoom account which is authenticated via zoomus.
By providing the client id and client secret from the OAuth App.

Recently, I use a zoom government account to test and find the OAuth endpoint for Zoom Government is different.
According to Server-to-Server Oauth for 3rd Party connections in Zoom Gov
The document is not correct.

Could you please help confirm if the Zoom Government API endpoint is still
api.zoom.us/v2/

With my understanding, Zoom and Zoom Government use different IDP for authentication so the Zoom Government account can’t be signed in with zoomus
Besides Zoom Government, are there any other types of Zoom account that also requires a different OAuth endpoint ?

Many thanks!

Hi @SongZhang
Thanks for reaching out to the Zoom Developer forum, I am happy to help here!
The Zoom Government API endpoint should be:
https://api.zoomgov.com/

I will go ahead and reach out to the Docs team to update this since it is not correct.
hope this hleps,
Elisa

Many thanks for the prompt reply!

Please help confirm the following
For example, to list all of an account’s users, we need to use https://api.zoomgov.com/users

Could you also help confirm for Zoom service, only Zoom Us and Zoom Government are available now. Our product tries to support all Zoom provided services (endpoints)

I tried the request https://api.zoomgov.com/users?status=active&page_size=20
The response is 404 with a html page with the following info:

Uh oh!

You seem to have lost your way. Let us help you find what you were looking for:

The same API is working for api.zoom.us

I am not clear on what you mean by “only Zoom Us and Zoom Government are available now”, can you please elaborate?

Are you getting the same result when making a request without the parameters? (i.e https://api.zoomgov.com/users)

Our product tries to support all Zoom endpoints, now, there are zoom.us account and Zoom Government account. Correspondingly there are Zoom.us and Zoom Government endpoints for the API and OAuth2. I wonder if there are other endpoints ?

I get the same result 404 Not Found when making the Zoom Gov request without the parameters (/users). I didn’t try all Zoom Gov APIs but some of them have the same 404 error.

Can you try to make that request to the following endpoint?

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

Yes, the same API for zoom.us (https://api.zoom.us/v2/users) is working fine. The access_token must be from zoom.us.
Refer to the above, when calling APIs for ZoomGov, change the base URL of the endpoint to api.zoomgov.com

Our product tries to support all Zoom endpoints, now, there are zoom.us account and Zoom Government account. Correspondingly there are Zoom.us and Zoom Government endpoints for the API and OAuth2. I wonder if there are other endpoints ?

@SongZhang

My apologies, copied the wrong base URL. Can you try https://api.zoomgov.com/v2/users ? Tested this endpoint on my end and can confirm it works as expected:

Yes, use base URL https://api.zoomgov.com/v2 works well.
Please help confirm that I need to use the v2 base URL for all Zoom Government API ?

Also, could you please help clarify the following?
Our product tries to support all Zoom endpoints, now, there are zoom.us account and Zoom Government account. Correspondingly there are Zoom.us and Zoom Government endpoints for the API and OAuth2. I wonder if there are other endpoints ?

Many thanks!

@SongZhang ,

Yes, you should use v2 base URL for Zoom Government API

For the API, that is correct. It is my understanding there are Zoom.us and Zoom Government endpoints for the API and OAuth2.

Thank you! Please help close the issue.

1 Like