# Trying to build a very basic 'user directory' using ZOOM data, via the ZOOM API

**URL:** <https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969>\
**Category:** Users and Groups\
**Created:** [January 23, 2023, 5:05pm UTC](https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969 "2023-01-23T17:05:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwest1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jwest1/32/44811_2.png) [@jwest1](https://devforum.zoom.us/u/jwest1)\
**Post date:** [January 23, 2023, 5:05pm UTC](https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969/1 "2023-01-23T17:05:50Z")

</div>

I would like to build a website (web app, preferably with PHP) that displays the **email and phone number** information within ZOOM for a user whose first and last name I supply. I would like to limit this process to my Employer’s ZOOM accounts. Is this something that can be done via the ZOOM API? Or would a CSV export be more practical? Any suggestions would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 24, 2023, 9:53am UTC](https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969/2 "2023-01-24T09:53:09Z")

</div>

Hi,

You can do so via our APIs and Event notifiers.

You can use the [List Users API](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/users) to get a list of users, and and you can also subscribe to our user [created](https://marketplace.zoom.us/docs/api-reference/zoom-api/events/#operation/user.created) / [updated](https://marketplace.zoom.us/docs/api-reference/zoom-api/events/#operation/user.updated) / [deleted](https://marketplace.zoom.us/docs/api-reference/zoom-api/events/#operation/user.deleted) events so that you can receive real time notifications every time there is an activity with the users in your account.

If you use Rest APIs you will get all the user details in your account along with the ones that you want. If you want a customized the response from our API (i.e. Name, email and phone number only), I suggest that you use [GraphQL](https://marketplace.zoom.us/docs/graphql/overview/).

---

<div class="post-metadata">

**Author:** ![jwest1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jwest1/32/44811_2.png) [@jwest1](https://devforum.zoom.us/u/jwest1)\
**Post date:** [January 24, 2023, 2:42pm UTC](https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969/3 "2023-01-24T14:42:21Z")

</div>

Great information. Thank you, @ojus.zoom !

So, this is my very first foray into the ZOOM API. I’ve gleaned that (I think) I need an ‘Account level’ application, instead of a ‘User level’ application. I believe I am trying to build a ‘Webhook Only’ [type of application](https://marketplace.zoom.us/develop/create), right? (Or is another application type more appropriate for an Account level application that will primarily interface with the [List Users API](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/users)?)

Any other guidance you might be able to offer would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 24, 2023, 4:28pm UTC](https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969/4 "2023-01-24T16:28:28Z")

</div>

@jwest1 webhook only app is good when you want to use webhooks only. When you want to make API calls you need to create user managed [OAuth app](https://marketplace.zoom.us/docs/guides/build/oauth-app/) or [server to server OAuth app.](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/)

---

<div class="post-metadata">

**Author:** ![jwest1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jwest1/32/44811_2.png) [@jwest1](https://devforum.zoom.us/u/jwest1)\
**Post date:** [January 25, 2023, 4:40pm UTC](https://devforum.zoom.us/t/trying-to-build-a-very-basic-user-directory-using-zoom-data-via-the-zoom-api/81969/5 "2023-01-25T16:40:11Z")

</div>

Thanks for the advice. I was initially kind of confused, but I’ve determined that webhooks may not be sufficient; and, thanks to [this post](https://devforum.zoom.us/t/when-to-use-server-to-server-oauth-app-and-when-to-use-oauth-app/75274) from @elisa.zoom , I now understand the difference between the two OAuth ‘flavors’. I believe I will be trying to build a server-to-server OAuth app.
