You can import collections and environments that wereexported from Postman. You can also import requests using a cURL command.
To learn more, seeImport data into Postman.
To import data, do the following:
Click
Import at the top of the sidebar.
Choose how you’d like to import your data:
cURL - Enter your curl command. The Postman VS Code extension opens the request in a new tab. Make sure to save the request to a collection.
You canconvert a Postman request to a curl command and import it using the curl command.
File - Select collection or environment files. If you’re importing a single file, the VS Code extension imports it after you select it.
Folder - Select a folder that has multiple collection or environment files.
.env files - The VS Code extension detects.env files in your API project that haven’t been imported into Postman. When you select this option, Postman checks for new.env files that you haven’t imported yet. You’ll receive an in-app notification if no new files are detected. Learn aboutimporting environment variables into a new environment in Postman.
If you’re importing multiple files or a folder, select the checkbox next to the files you want to import, then clickImport.
You can also use the
Postman: Importcommand from theCommand Palette to import data.
Last modified: 2025/08/22
Explore ready-to-use Collection Templates, build API-first workflows with Postman Flows, and more!