# How to recover my collections with the Postman API?

**URL:** <https://community.postman.com/t/how-to-recover-my-collections-with-the-postman-api/5478>\
**Category:** Help Hub\
**Tags:** faq\
**Created:** [May 17, 2019, 9:41am UTC](https://community.postman.com/t/how-to-recover-my-collections-with-the-postman-api/5478 "2019-05-17T09:41:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyriellehada](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cyriellehada/32/1433_2.png) [@cyriellehada](https://community.postman.com/u/cyriellehada)\
**Post date:** [May 17, 2019, 9:41am UTC](https://community.postman.com/t/how-to-recover-my-collections-with-the-postman-api/5478/1 "2019-05-17T09:41:30Z")

</div>

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](https://app.postman.co/integrations/services/pm_pro_api) (if you don’t have one already).

2 - Use the `/collections` endpoint returns a list of all collections – [Postman](https://docs.api.getpostman.com/#3190c896-4216-a0a3-aa38-a041d0c2eb72)

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

 ![15](https://us1.discourse-cdn.com/getpostman/original/3X/c/a/ca647a869bb8c9ac332f59c5e829ee534872b7cd.png)

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).

 ![18](https://us1.discourse-cdn.com/getpostman/original/3X/5/d/5df08278de5e5523f4c349bcc092a1c5871faff6.png)

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](https://docs.api.getpostman.com/#647806d5-492a-eded-1df6-6529b5dc685c)

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

 ![07](https://us1.discourse-cdn.com/getpostman/original/3X/5/1/51cecd9ba0224ee5b8a96e8617147deea2a91348.png)

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

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 30, 2025, 2:17pm UTC](https://community.postman.com/t/how-to-recover-my-collections-with-the-postman-api/5478/2 "2025-04-30T14:17:22Z")

</div>

Closed on April 30, 2025, 2:17pm UTC


