Phone API for Data Access

Hello, I have a question on how to get started with the Phone API for purposes of pulling some data for analysis. I created an OAuth app which I can successfully pull data from in Postman, BUT it requires that I click some button to authorize. I’m not totally sure how like that initial authorization lasts.

I’d like to create something on the server to pull data down automatically, so I don’t see going in and having a user authorize every single time. I looked at JWT, but I don’t like that there are no scopes to limit the access.

At the end of the day, I just want to pull phone data in an automated fashion. Can you advise the best method for accomplishing this?

Thanks,

Blake

Greeting & Welcome @bryner,

Thank you for posting in the Developer Forum. If you are looking to limit access to user data, then OAuth is the best option here. I should also note, the user will not have to authorize your App every single time. Once a user authorized your app to allow access to their account data, you will be granted an access token. The will access tokens expire after one hour. Once expired, you will have to refresh a user’s access token, which you can automate as well. I’ve linked our getting started documentation along with our OAuth sample App for your reference:

Getting Started With OAuth:

Zoom Marketplace to create account-level OAuth app:

https://marketplace.zoom.us/develop/create?source=devdocs

Creating an OAuth app instructions:

https://marketplace.zoom.us/docs/guides/build/oauth-app#getting-access-token

This doc is a high-level overview of the app-building process:

https://marketplace.zoom.us/docs/guides/build

OAuth Scopes:

https://marketplace.zoom.us/docs/guides/auth/oauth/oauth-scopes

Sample OAuth APP:

How to Automate OAuth2 Token Renewal in Postman:

Let me know if you have any questions about this.

Best,
Donte

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.