# List of all requests in pre-request script

**URL:** <https://community.postman.com/t/list-of-all-requests-in-pre-request-script/17612>\
**Category:** Help Hub\
**Tags:** collections, pre-request-script\
**Created:** [November 11, 2020, 6:51am UTC](https://community.postman.com/t/list-of-all-requests-in-pre-request-script/17612 "2020-11-11T06:51:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [November 11, 2020, 12:51pm UTC](https://community.postman.com/t/list-of-all-requests-in-pre-request-script/17612/2 "2020-11-11T12:51:24Z")

</div>

I didn’t do this in a pre-request script, but you certainly could adapt it to do so:

![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/6/e69ab12c7914663c2de27285731c96477d1cd70d.png)

I used the Postman API to load the collection details then grabbed the name of all the requests.

[Postman API Documentation](https://documenter.getpostman.com/view/631643/JsLs/#647806d5-492a-eded-1df6-6529b5dc685c)

---

_[View the full topic](https://community.postman.com/t/list-of-all-requests-in-pre-request-script/17612)._
