# Zoom Government OAuth endpoint and API endpoint

**URL:** <https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201>\
**Category:** Zoom for Government\
**Created:** [January 26, 2023, 10:33pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201 "2023-01-26T22:33:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [January 26, 2023, 10:33pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/1 "2023-01-26T22:33:39Z")

</div>

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](https://devforum.zoom.us/t/server-to-server-oauth-for-3rd-party-connections-in-zoom-gov/81367)  
The document is not correct.

Could you please help confirm if the Zoom Government API endpoint is still  
[api.zoom.us/v2/](http://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!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 27, 2023, 6:17pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/2 "2023-01-27T18:17:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [January 27, 2023, 6:45pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/3 "2023-01-27T18:45:17Z")

</div>

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](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)

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [February 1, 2023, 10:48pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/4 "2023-02-01T22:48:44Z")

</div>

I tried the request [https://api.zoomgov.com/users?status=active&page\_size=20](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](http://api.zoom.us)

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 2, 2023, 1:39am UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/5 "2023-02-02T01:39:34Z")

</div>

> [@SongZhang](#):
>
> 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 am not clear on what you mean by “only Zoom Us and Zoom Government are available now”, can you please elaborate?

> [@SongZhang](#):
>
> I tried the request [https://api.zoomgov.com/users?status=active&page\_size=20](https://api.zoomgov.com/users?status=active&page_size=20)  
> The response is 404 with a html page with the following info:

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

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [February 2, 2023, 4:07pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/6 "2023-02-02T16:07:42Z")

</div>

Our product tries to support all Zoom endpoints, now, there are [zoom.us](http://zoom.us) account and Zoom Government account. Correspondingly there are [Zoom.us](http://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.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 3, 2023, 3:53am UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/7 "2023-02-03T03:53:22Z")

</div>

> [@SongZhang](#):
>
> [https://api.zoomgov.com/users](https://api.zoomgov.com/users)

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

[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/a/2a00810ba4bf5d002df2b9523496a970022f98b0.png)

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [February 3, 2023, 4:13am UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/8 "2023-02-03T04:13:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [February 3, 2023, 4:15am UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/9 "2023-02-03T04:15:34Z")

</div>

> [@SongZhang](#):
>
> Our product tries to support all Zoom endpoints, now, there are [zoom.us](http://zoom.us) account and Zoom Government account. Correspondingly there are [Zoom.us](http://Zoom.us) and Zoom Government endpoints for the API and OAuth2. I wonder if there are other endpoints ?

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

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 3, 2023, 9:44am UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/10 "2023-02-03T09:44:52Z")

</div>

@SongZhang

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

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15269d199b4732cdb487634225894883a9a738e9.png)

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [February 3, 2023, 5:15pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/11 "2023-02-03T17:15:33Z")

</div>

Yes, use base URL [https://api.zoomgov.com/v2](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](http://zoom.us/) account and Zoom Government account. Correspondingly there are [Zoom.us](http://zoom.us/) and Zoom Government endpoints for the API and OAuth2. I wonder if there are other endpoints ?

Many thanks!

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 3, 2023, 11:44pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/12 "2023-02-03T23:44:27Z")

</div>

@SongZhang ,

> [@SongZhang](#):
>
> Please help confirm that I need to use the v2 base URL for all Zoom Government API ?

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

> [@SongZhang](#):
>
> Correspondingly there are [Zoom.us](http://zoom.us/) and Zoom Government endpoints for the API and OAuth2. I wonder if there are other endpoints ?

For the API, that is correct. It is my understanding there are [Zoom.us](http://zoom.us/) and Zoom Government endpoints for the API and OAuth2.

---

<div class="post-metadata">

**Author:** ![SongZhang](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SongZhang](https://devforum.zoom.us/u/SongZhang)\
**Post date:** [February 8, 2023, 9:19pm UTC](https://devforum.zoom.us/t/zoom-government-oauth-endpoint-and-api-endpoint/82201/13 "2023-02-08T21:19:33Z")

</div>

Thank you! Please help close the issue.
