For AI agents: the complete documentation index is available at llms.txt; every page is also available as Markdown by appending .md to its URL.
Skip to main content

Connecting to Postman Workspaces

Overviewโ€‹

Postman Workspaces are a common and effective way of organizing your team's API work. Workspaces allow you to collaborate while designing your API and share your API artifacts like Postman Collections.

In this guide, you'll learn how to directly connect Microcks to your Postman Collection living in a Workspace so that changes in Postman may be automatically propagated to Microcks.

1. Obtain an API Keyโ€‹

In order to connect to your Postman Workspace, you'll need an API Access Key so that Microcks will be able to authenticate while fetching your Collection. In order to do that, you'll need to generate an API Key from Postman Workspace as illustrated below:

postman api keys

This API Key must then be saved as an authentication Secret in Microcks so that your importer can reference it and supply it to the Postman API using the X-API-Key header.

As an administrator, create a new Secret using this template and replace the token with your own value:

postman api secret

2. Share your APIโ€‹

Now you need to retrieve the Collection API link. For that, you have to go through the Share button and select the Via API thumbnail as illustrated in the picture below:

postman share api link

๐Ÿ—’๏ธ You can see that it's also possible to generate a new API key from this step if you have skipped step 1 ๐Ÿ˜‰

Copy this URL, which is unique and represents access to your Collection.

3. Create an Importerโ€‹

Finally, you can use this URL (ending just before the ?) and use it directly as an Importer URL when creating a Scheduled Importer.

Wrap-upโ€‹

Congrats ๐ŸŽ‰ You now know how to connect Microcks to your Postman Workspace and get direct access to the Postman Collection shared with your team!