> ## Documentation Index
> Fetch the complete documentation index at: https://requestly-mintlify-changelog-requestly-past-week-38456.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Collections

You can easily **export API collections to a** `.json` **file** and **import them back into Requestly** whenever needed. This makes it simple to back up your work, move between devices, or collaborate with others.

<Info>
  **Need Help First?**\
  If you’re new to collections or environments, check out our docs on [creating a collection](/general/api-client/api-collections#create-api-collection) and [managing environments](https://hashnode.com/docs/668e4c7f9409e6119ec94924/preview?guideSlug=general\&pagePath=/api-client/variables-and-environment/environment-variables) before using import/export.
</Info>

## Exporting Collections

Exporting a collection generates a `.json` file that contains all the requests, scripts, and metadata inside that collection.

### How to Export a Collection

<Steps>
  <Step title="Download and Open Requestly">
    [Download Requestly](https://requestly.com/downloads) and open the dashboard. From the sidebar, navigate to **APIs**.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/vF3qe2iiJjRDLN_B/images/import-export-api-collections/d59f3081-bacb-4faf-ac16-9204a7d24627.png?fit=max&auto=format&n=vF3qe2iiJjRDLN_B&q=85&s=2cfd542e4b23df3fa5e42cb0fc3473a5" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/d59f3081-bacb-4faf-ac16-9204a7d24627.png" />
  </Step>

  <Step title="Open the Export Option">
    In the left sidebar, hover over the collection you want to export.

    Click the **three-dot menu (⋯)** next to the collection name and choose **Export**.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/vF3qe2iiJjRDLN_B/images/import-export-api-collections/b2812538-5374-4c10-a643-427a9e44fe05.png?fit=max&auto=format&n=vF3qe2iiJjRDLN_B&q=85&s=111ca2fafdc075fbefa59ae4c5b08475" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/b2812538-5374-4c10-a643-427a9e44fe05.png" />
  </Step>

  <Step title="Download the Collection File">
    A modal will appear showing the collection name.

    Click **Export** to download the `.json` file to your device

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/KMakbnZawnsQHNXI/images/import-export-api-collections/d8390469-b092-49db-ab22-57981462e9c1.png?fit=max&auto=format&n=KMakbnZawnsQHNXI&q=85&s=c2e79a5c382cfea6738b45ac07a78e57" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/d8390469-b092-49db-ab22-57981462e9c1.png" />
  </Step>
</Steps>

## Importing Collections

You can re-import previously exported Requestly collections on any device or workspace to continue working from where you left off.

### How to Import a Collection

<Steps>
  <Step title="Download and Open Requestly">
    [Download Requestly](https://requestly.com/downloads) and open the dashboard. From the sidebar, navigate to **APIs**.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/KMakbnZawnsQHNXI/images/import-export-api-collections/d92b2015-4f6b-4ddd-b7cc-e7bf8ee39ec7.png?fit=max&auto=format&n=KMakbnZawnsQHNXI&q=85&s=620988d0f48149cba323b90880d16c1f" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/d92b2015-4f6b-4ddd-b7cc-e7bf8ee39ec7.png" />
  </Step>

  <Step title="Click on &#x22;Import&#x22;">
    In the top-left corner of the API Client, click the **Import** button. This will open a dropdown with multiple import options.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/vF3qe2iiJjRDLN_B/images/import-export-api-collections/adc8ba1b-8e0e-44f9-8f64-29944773e0c1.png?fit=max&auto=format&n=vF3qe2iiJjRDLN_B&q=85&s=72b37b23429a247a66ad047cd476fb66" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/adc8ba1b-8e0e-44f9-8f64-29944773e0c1.png" />
  </Step>

  <Step title="Select &#x22;Requestly’s Collection & Environment&#x22;">
    From the dropdown, choose **Requestly’s Collection & Environment** to open the import modal.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/vF3qe2iiJjRDLN_B/images/import-export-api-collections/7c1b9f07-fc72-44f8-bddb-08e1fcf54a16.png?fit=max&auto=format&n=vF3qe2iiJjRDLN_B&q=85&s=7a9a166030c831b98c084036f7281bf0" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/7c1b9f07-fc72-44f8-bddb-08e1fcf54a16.png" />
  </Step>

  <Step title="Upload Your File">
    In the import modal, click to browse or drag and drop the `.json` file you want to import. Once selected, the collection will be added to your workspace.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/vF3qe2iiJjRDLN_B/images/import-export-api-collections/747bac68-40b3-4441-926f-af44a518e853.png?fit=max&auto=format&n=vF3qe2iiJjRDLN_B&q=85&s=1a44edf120ca99040239c7bcfd900545" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-collections/747bac68-40b3-4441-926f-af44a518e853.png" />
  </Step>
</Steps>
