# How can I get data for all past meetings. Where do the api keys go?

**URL:** <https://devforum.zoom.us/t/how-can-i-get-data-for-all-past-meetings-where-do-the-api-keys-go/65999>\
**Category:** Meetings\
**Tags:** api\
**Created:** [March 17, 2022, 10:19pm UTC](https://devforum.zoom.us/t/how-can-i-get-data-for-all-past-meetings-where-do-the-api-keys-go/65999 "2022-03-17T22:19:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikjames69](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/erikjames69/32/35974_2.png) [@erikjames69](https://devforum.zoom.us/u/erikjames69)\
**Post date:** [March 17, 2022, 10:19pm UTC](https://devforum.zoom.us/t/how-can-i-get-data-for-all-past-meetings-where-do-the-api-keys-go/65999/1 "2022-03-17T22:19:17Z")

</div>

How can I pull in all data from the zoom api related to past meetings and how can I format my url to fetch said data? Where does the api key go? For example, I am using Laravel and have my api keys inside the .env file. Do I have to have my jwt token on my machine when performing a get request or is that handled in the api key? Any help on this would be greatly appreciated. Thank you in advance.

---

<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:** [December 17, 2022, 3:17am UTC](https://devforum.zoom.us/t/how-can-i-get-data-for-all-past-meetings-where-do-the-api-keys-go/65999/3 "2022-12-17T03:17:39Z")

</div>

Hi @erikjames69 ,

to get the info:

1] Create an App (OAuth / Server to Server OAuth) in the marketplace/  
2] Fill the info, select the scopes (in your case meeting.read, meeting.write, if necessary, the relevant report / dashboard scopes)  
3] If using OAuth, follow guidelines here to generate an access token: [https://marketplace.zoom.us/docs/guides/auth/oauth/#getting-an-access-token](https://marketplace.zoom.us/docs/guides/auth/oauth/#getting-an-access-token)  
If using server to server OAuth, follow guidelines mentioned here: [https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/#use-account-credentials-to-get-an-access-token](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/#use-account-credentials-to-get-an-access-token)  
4] Once you have the access token, use it to call the relevant API to get past meeting details.
