# Create environment postman api with multiple workspaces

**URL:** <https://community.postman.com/t/create-environment-postman-api-with-multiple-workspaces/16731>\
**Category:** Help Hub\
**Tags:** postman-api\
**Created:** [October 13, 2020, 9:15pm UTC](https://community.postman.com/t/create-environment-postman-api-with-multiple-workspaces/16731 "2020-10-13T21:15:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveclewell](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@steveclewell](https://community.postman.com/u/steveclewell)\
**Post date:** [October 13, 2020, 9:15pm UTC](https://community.postman.com/t/create-environment-postman-api-with-multiple-workspaces/16731/1 "2020-10-13T21:15:59Z")

</div>

The Create Environment Postman API allows a workspace to be passed in as a query parameter, but if you have multiple workspaces and a workspace isn’t specified how does it determine what workspace to create the environment in?
