Bitbucket

You can back up your team's Postman Collections with Postman's Bitbucket integration.

Contents

API sync with Bitbucket

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.

Backing up collections on Bitbucket

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.

Configuring a Bitbucket integration

From the Home page select Integrations.

home page and integrations

Search and select Bitbucket.

Bitbucket search page

Select Add Integration.

Bitbucket details page

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.

Bitbucket creation

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.

Bitbucket configuration

Your new integration will now appear in a list along with previously created integrations.

Configured integrations

To confirm this integration, navigate to your Bitbucket dashboard > Repositories. Select your repository > Commits.

Bitbucket commits list

You can select a commit to view your stored collection in JSON format.

Bitbucket collection

Next steps

Learn more about other Postman integrations, including custom webhooks and Slack.