# Create requests from APIs (Collections vs. APIs)

**URL:** <https://community.postman.com/t/create-requests-from-apis-collections-vs-apis/37089>\
**Category:** Help Hub\
**Created:** [July 11, 2022, 12:53pm UTC](https://community.postman.com/t/create-requests-from-apis-collections-vs-apis/37089 "2022-07-11T12:53:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karelhusa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/karelhusa/32/12594_2.png) [@karelhusa](https://community.postman.com/u/karelhusa)\
**Post date:** [July 11, 2022, 12:53pm UTC](https://community.postman.com/t/create-requests-from-apis-collections-vs-apis/37089/1 "2022-07-11T12:53:47Z")

</div>

**Currently we have API requests in two forms**

- APIs: relates to API specifications
- Collections: list of requests for testing (or learning) purposes

Sometimes it’s confusing whether the collection is:

- an API spec (includes the API, documentation and all other stuff)
- or a test suite (includes the requests, the requests can be repeated for different scenarios, includes the asserions, etc.)

I would like to keep specifications in APIs and use it in my collections, i.e.:

- when creating a request
- choose an endpoint from APIs
- the endpoint would populate the requests params, request body etc.

In such scenario the collection requests would be driven by API specification, but the specification would remain in APIs and tests would come into Collections. So specification and test would be clearly separated.

Could you add such function into Postman – Create a request from an API endpoint?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:54pm UTC](https://community.postman.com/t/create-requests-from-apis-collections-vs-apis/37089/2 "2024-12-12T12:54:13Z")

</div>

Closed on December 12, 2024, 12:54pm UTC

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