You can back up your Postman Collections to your Bitbucket repository. Once the integration is configured, any changes to your collection in Postman will also appear in your Bitbucket repository.
You can connect a Bitbucket repository to an API in the API Builder. Once connected, you can sync your API's definition and associated collections between Postman and Bitbucket. You can switch branches, pull changes from the repository, and push changes to the repository, all from within Postman. To learn more about syncing your API with Bitbucket, see API version control overview.
To back up your collections to a Bitbucket repository, do the following:
From the Home page, click Integrations.
Click Browse All Integrations.
Search for and select Bitbucket.
Next to Backup a collection, click Add Integration.
Enter your Bitbucket authentication and click 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 choose the directory, filename, and branch. Select Add Integration.
Postman often checks your collection for changes. If Postman identifies changes when it checks your collection, the changes automatically commit to your repository in JSON format.
To view your collections in Bitbucket, go to your Bitbucket dashboard > Repositories. Select your repository, then click Commits.
You can click a commit to view your stored collection in JSON format.
You can view your configured integrations on the Browse Integrations page. You can also view integrations that have been configured for a collection by opening the collection and clicking the information icon
in the right sidebar. Learn more about viewing or editing integrations.
Last modified: 2025/03/03