Back Up and Sync Your Postman Collections to GitHub


Reading Time: 2 minutes

Millions of developers use GitHub every day to manage and store revisions of projects, making it the largest host of source code in the world.  Now you can easily backup and synchronize your Postman Collections on GitHub. Your Collections are all tucked in safe and sound with our latest Postman Pro to GitHub Integration.

If you have 2 minutes, we’ll show you how right now.

Back up your Postman Collections to GitHub

Log on to your Dashboard from the Postman website, and navigate to the Integrations page to see a list of all the currently available integrations for Postman Pro users.

Click Dashboard.

Select the Integrations tab.

Select GitHub from a list of Postman’s 3rd party Integrations for Postman Pro users.

Click Add to backup your Postman Collections to GitHub, and then log in with your GitHub credentials to authorize Postman to access your GitHub account.

Select an existing GitHub repository, select an existing Postman Collection, and then enter a filename to call your backup. Upon submit, your Collection will be pushed to your GitHub repository under the filename that you specified, and saved as a single JSON file.

There are also some advanced options available.  You can enter a custom directory name, or leave “Postman Collections” as the default. You can specify a branch for commit, or leave “master” as the default.


And that’s it!  From now on, every change saved to your Postman Collection will automatically commit changes to your GitHub repo in real time.  Now your Collections and code can live together in perfect harmony in the same repository.

Explore this one and other 3rd party Integrations on the Postman Integrations directory, and let us know what you think!

0

  

Comments

Your email address will not be published. Required fields are marked *



This site uses Akismet to reduce spam. Learn how your comment data is processed.

7 thoughts on “Back Up and Sync Your Postman Collections to GitHub

  • vikas pandey

    Nooice


    0

  • GAURAV PARAJULI

    Is there a way to use GitHub to review a Postman collection in a better readable format than JSON?


    0

    • Joyce

      If you choose to maintain your Postman collection in GitHub, then it will be in the JSON format. If you want to view the collection data in a Graphical User Interface, then obviously you would do that in the Postman app. Let me know if you had a specific use case in mind, for which there might be a better solution.


      0

  • Rohit

    Is there a way to have a two way sync between Github and Postman. If multiple people across different orgs are collaborating on same collection, or if a user’s diff on github is accepted for enhancements to a given collection, what is the best way to incorporate those changes to the original collection on Postman?


    0

  • Shahin

    I think there must be a way here for public to be able to provide feedback via GitHub. There should be a sync between postman and GitHub not just a simple backup and restore.


    0

  • Christopher Tomlinson

    Hi,

    When selecting Integrations and then selecting create a Integration in this workspace I only get the “Backup collections and sync API schemas to your github repository”.

    I do not see the option to only “Backup your Postman collections”.

    Thanks,
    Chris


    0

You might also like: