You can easily export environments to a .json
file and import them back into Requestly whenever needed. This helps you back up environment variables, move them across devices, or sync with teammates.
Exporting Environments
Exporting an environment downloads a .json
file containing all key-value variable pairs in that environment.
How to Export an Environment
Download and Open Requestly
Download Requestly and open the dashboard. From the sidebar, navigate to APIs.
Open the Environments Panel
In the left sidebar, click on the “Environments” tab to view the list of existing environments.
Export the Environment
Hover over the environment you want to export, click the three-dot menu (⋮), and select Export.
Download your environment
A modal will appear showing the collection name.
Click Export to download the .json
file to your device
Importing Environments
You can re-import an exported environment into any workspace to continue using your environment variables.
How to Import an Environment
Download and Open Requestly
Download Requestly and open the dashboard. From the sidebar, navigate to APIs.
Click on "Import"
In the top-left corner of the client, click Import. This opens a dropdown with multiple import options.
Select "Requestly’s Collection & Environment"
Choose Requestly’s Collection & Environment to open the import modal.
Upload Your File
Click to browse or drag and drop the .json
file containing your environment.
Once uploaded, the environment will appear in your workspace under the “Environments” tab.