Import from Insomnia

Insomnia is an open-source desktop application for creating APIs. Postman can import requests, environments, and other data exported from Insomnia.

Export files from Insomnia

  1. In Insomnia, select Preferences > Data > Export all data.
  2. Select the location where you want to export the data.
  3. Select Ok when the export is complete.

Insomnia can also export individual documents, collections, and requests. See the Insomnia documentation to learn more.

Import Insomnia files to Postman

  1. In Postman, select Import > Migrate to Postman > Other API Clients.

  2. Select an import option:

    • Detect and import data from default directory - Postman automatically detects if there's data in the default Insomnia directory. If Postman detects data in multiple directories, select the data you want to import.

    • Select data to migrate - Select files or folder, then select the files or folder you want to import. If the Start Migration button isn't enabled, make sure you've selected a valid Insomnia file.

  3. Select Start Migration. A message appears in the footer when migration is complete.

Import Insomnia data

You can also drag files and folders into the import window.

Last modified: 2024/04/29