Importing
Rostyman can import requests and collections from multiple formats and tools.
How to Import
There are three ways to import:
Import Dialog
- Click ☰ hamburger menu → File → Import (or press Ctrl+O)
- Choose your import format from the tabs
- Paste content or click Choose File
- Click Import
Drag & Drop
- Drag any supported file from your file browser onto the Rostyman window
- A drop zone overlay appears — release to import
- Rostyman auto-detects the format and imports the collection
- If a collection with the same name already exists, you'll be asked whether to Sync or Import as New
Double-Click (.rostyman files)
Double-click any .rostyman file in Explorer (Windows), Finder (macOS), or your file manager (Linux) — Rostyman opens automatically and imports the collection. If Rostyman is already running, the file opens in the existing window.
A new collection is created with all the imported requests.
Supported Import Formats
cURL
Paste any curl command — including complex ones with headers, body, and auth:
curl -X POST https://api.example.com/users \
-H "Authorization: Bearer mytoken" \
-H "Content-Type: application/json" \
-d '{"name": "Alice", "email": "alice@example.com"}'
Rostyman parses the method, URL, headers, and body automatically.
Postman Collection (v2.0 / v2.1)
Import a Postman Collection v2.0 or v2.1 JSON file:
- Export the collection as JSON from your current tool
- In Rostyman: Import → Postman tab → Choose File
Imports:
- All requests with their method, URL, headers, params, body
- Folder structure
- Collection variables
- Pre-request and test scripts (compatible with
pm.*— note: scripts userm.*in Rostyman)
OpenAPI 3.0 / Swagger 2.0
Import an API spec to generate a collection of all endpoints:
- Supports JSON and YAML formats
- Paste the spec or choose a file
- Each API operation becomes a request
- Path parameters, query params, and request body schemas are imported
Insomnia (v4)
Export from Insomnia as JSON and import directly:
- In Insomnia: Application → Export Data → Current Workspace → JSON
- In Rostyman: Import → Insomnia tab → Choose File
HAR (HTTP Archive)
Import requests captured from browser DevTools:
- In Chrome DevTools: Network tab → right-click → Save all as HAR with content
- In Rostyman: Import → HAR tab → Choose File
Each request in the HAR file becomes a saved request in a new collection.
Import Source Sync
When you import a collection or environment from a file, Rostyman automatically remembers the source file path. This lets you re-sync your collection whenever the source file is updated.
How It Works
- Import a collection from any supported format (Postman, OpenAPI, Insomnia, HAR, etc.)
- Open the collection → Overview tab → you'll see the source file path with a format badge
- Click Sync from Source to re-import from the same file
Merge Strategy
When you sync, Rostyman merges changes intelligently:
- New requests and folders in the source file are added
- Changed requests (different URL, body, or auth) are updated
- Your manual additions (requests you added yourself) are kept untouched
- Variables are upserted by key — existing values are updated, new keys are added
Environment Source Sync
Environments imported from file also remember their source. Select the environment in the Environments tab to see the source banner with a Sync button above the variable table.
Link / Unlink
- Link: You can manually link any collection to a source file from the Overview tab
- Unlink: Remove the source connection if you no longer want to sync
Sharing Collections
Export your collection as a .rostyman file and share it with teammates via any method — WhatsApp, email, Slack, Google Drive, Dropbox, or any file-sharing service.
Your teammate can:
- Double-click the file to open it in Rostyman
- Drag & drop the file onto their Rostyman window
- Use the Import dialog to browse and select the file
When the source file is updated (e.g., via a shared Drive folder), Rostyman detects the change and prompts to sync — keeping everyone's collection up to date.