# Getting Account ID for server-to-server OAuth

**URL:** <https://devforum.zoom.us/t/getting-account-id-for-server-to-server-oauth/70559>\
**Category:** Authentication\
**Created:** [June 15, 2022, 2:33pm UTC](https://devforum.zoom.us/t/getting-account-id-for-server-to-server-oauth/70559 "2022-06-15T14:33:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 15, 2022, 2:33pm UTC](https://devforum.zoom.us/t/getting-account-id-for-server-to-server-oauth/70559/1 "2022-06-15T14:33:13Z")

</div>

After a recent update, you may notice that some app credential fields have changed in the Server-to-Server OAuth app build page. If you are temporarily unable to see your account ID in the app, you will need to request the ID via API.

To get your accountID, call the [get a user API](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods#operation/user) using app credentials from a JWT app or OAuth app with the user:read scope. The accountID will be the same for all users in your Zoom account.

Thanks for your patience as we make some changes to this page.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 15, 2022, 2:34pm UTC](https://devforum.zoom.us/t/getting-account-id-for-server-to-server-oauth/70559/4 "2022-06-15T14:34:33Z")

</div>

Made this a banner on June 15, 2022, 2:34pm UTC. It will appear at the top of every page until it is dismissed by the user.



---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 21, 2022, 6:03am UTC](https://devforum.zoom.us/t/getting-account-id-for-server-to-server-oauth/70559/5 "2022-06-21T06:03:10Z")

</div>

Removed this banner on June 21, 2022, 6:03am UTC. It will no longer appear at the top of every page.



---

<div class="post-metadata">

**Author:** ![andrewgstreet](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@andrewgstreet](https://devforum.zoom.us/u/andrewgstreet)\
**Post date:** [October 23, 2023, 9:12pm UTC](https://devforum.zoom.us/t/getting-account-id-for-server-to-server-oauth/70559/7 "2023-10-23T21:12:02Z")

</div>

This seems like a chicken or an egg scenario. How can you call the get User API, server to server unless you can login first. And unless you can you can’t login (server to server) unless you have your account id. Where is the account ID exactly? Is it the same as the account number listed under account profile?
