If you prepared a team workspace for team collaboration, you can draft your next release there. Otherwise, you can update your changes in place in your public workspace.
To get started, open your team workspace and update your team collection. Your team collection is the fork of your public collection.
For these steps, you'll use Postman version control to update your public collection. You can draft your changes in your team workspace. When you're ready to share your changes with your API consumers, you can publish your changes to your public workspace by merging your pull request.
To create a pull request to merge to your public collection, do the following:
To learn more, see Create a pull request to contribute to an element you forked.
To review, approve, and merge the pull request to your public collection, do the following:
Postman merges your changes to your public collection and makes them available to your API consumers.
To learn more, see Review pull requests in Postman.
For these steps, you'll use the Postman API to update your public collections. You can draft your changes in your team workspace. When you're ready to share your changes with your API consumers, you can publish your changes to your public workspace with a couple of API calls.
Test your workflow in a Postman Collection first, before you integrate these steps in your continuous integration and continuous delivery (CI/CD) pipeline.
To create a new collection in your team workspace, open your team workspace, and, from the Postman sidebar, select Collections. Then, select
Create new collection >
Blank collection.
To learn more, see Create a new collection.
To save your collection IDs as variables, do the following:
apiReferenceTeamCollectionId
.apiReferencePublicCollectionId
.To learn more, see Store and reuse values using variables.
To get your collection with an API call, do the following:
https://api.getpostman.com/collections/:collectionId
.collectionId
path variable, enter your team collection ID.Postman returns your team collection as a JSON object.
To learn more, see Get a collection.
To update your collection with an API call, do the following:
https://api.getpostman.com/collections/:collectionId
.collectionId
path variable, enter your public collection ID._postman_id
, id
, and uid
. You can automate this step with a script.Postman updates your public collection and makes your changes available to your API consumers.
To learn more, see Replace a collection's data.
Last modified: 2025/03/26