How to recover my collections with the Postman API?

The Postman API allows you to grab a list of Collections and reimport them into your app again. To do so, proceed as follows.

1 - Generate Postman API key here (if you don’t have one already).

2 - Use the /collections endpoint returns a list of all collections – Postman

Make sure to add the X-Api-Key header and add the key as the value.

3 - Hit send. It should return a list of all collections that are accessible by you (i.e your own collections and the ones you have subscribed to).

4 - Retrieve the UID associated with the collection you need to recover and pass it as a parameter to the GET Single Collection endpoint - Postman

Make sure to add the X-Api-Key header and add the key as the value.

5 - Receive the JSON response and copy/paste it into the Import modal in-app as raw text.

2 Likes