You can back up your team's Postman Collections with Postman's Bitbucket integration.
Postman 9.0 introduced the ability to connect a git repository to an API. Instead of using an integration, you can directly connect a Bitbucket repo to an API in the API Builder. This provides two-way sync of schemas and associated collections, plus adds powerful new features for syncing branches and release tags between Postman and your repo. For more information on the new repo sync feature, see Versioning APIs.
You can back up your Postman Collections to your Bitbucket repository. Once the integration is configured, any new changes to your collection in Postman will also appear in Bitbucket.
Search and select Bitbucket.
Select Add Integration.
Enter your Bitbucket authentication and select Authenticate and Proceed.
App passwords are different from account passwords. Learn how to create an app password in Bitbucket.
Select your collection to back up, the repository you'd like to back it up to, and designate the directory, filename, and branch. Click Add Integration.
Your new integration will now appear in a list along with previously created integrations.
To confirm this integration, navigate to your Bitbucket dashboard > Repositories. Select your repository > Commits.
You can select a commit to view your stored collection in JSON format.
Last modified: 2021/09/15