# Creating requests for a testing collection using an API definition

**URL:** <https://community.postman.com/t/creating-requests-for-a-testing-collection-using-an-api-definition/41990>\
**Category:** Help Hub\
**Tags:** collections, api\
**Created:** [December 12, 2022, 6:07pm UTC](https://community.postman.com/t/creating-requests-for-a-testing-collection-using-an-api-definition/41990 "2022-12-12T18:07:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@aaron](https://community.postman.com/u/aaron)\
**Post date:** [December 12, 2022, 6:07pm UTC](https://community.postman.com/t/creating-requests-for-a-testing-collection-using-an-api-definition/41990/1 "2022-12-12T18:07:47Z")

</div>

I want to use the ‘APIs’ tab to define and document my API completely (including things like expected path variables and expected responses)

I also then want to use the created API definition to make it easier to populate a collection of requests for testing the API. Instead of just having to retype every URL, is there a way to create and link a request back to an endpoint in the API definition? At the very least is there a way to generate a request from the API definition even if it isn’t connected?
