-
Notifications
You must be signed in to change notification settings - Fork 57
Import & Export
Anes Berbic edited this page Mar 13, 2026
·
1 revision
Migrate to ApiArk from any major API tool in seconds, or export to share with teams using other tools.
| Source | Format | File Extension |
|---|---|---|
| Postman | Collection v2.0/v2.1 | .json |
| Bruno | Bru format |
.bru / directory |
| Insomnia | Insomnia v4 export |
.json / .yaml
|
| OpenAPI | OpenAPI 3.0/3.1 |
.json / .yaml
|
| Hoppscotch | Hoppscotch export | .json |
| HAR | HTTP Archive 1.2 | .har |
| cURL | cURL command | Paste in UI |
- Go to File → Import (or press
Ctrl+Ior use Command Palette) - Select the file or paste cURL
- ApiArk auto-detects the format
- Preview the import — see what will be created
- Choose the destination collection/folder
- Click Import
After import, you'll see a summary:
Imported 47 requests, 3 environments, 5 folders. 2 requests had warnings. [View Warnings]
Warnings might include:
- Unsupported auth type (converted to Bearer with placeholder)
- Custom scripts that need manual adjustment
- Binary bodies that reference external files
- In Postman, select your collection
- Click ... → Export
- Choose Collection v2.1 format
- Save the
.jsonfile
| Postman Feature | ApiArk Mapping |
|---|---|
| Collection structure | Directory + YAML files |
| Requests (all methods) | Individual .yaml files |
| Folders | Subdirectories |
| Environments | environments/*.yaml |
| Pre-request scripts |
preRequestScript in YAML |
| Tests |
tests block in YAML |
| Variables | Environment variables |
| Auth (Bearer, Basic, API Key) |
auth block in YAML |
| OAuth 2.0 | auth.type: oauth2 |
| Body (JSON, form-data, raw, etc.) |
body block in YAML |
| Headers |
headers in YAML |
| Examples/responses |
examples in YAML |
Most Postman pm.* API calls are automatically translated to ark.*:
| Postman | ApiArk |
|---|---|
pm.response.json() |
ark.response.json() |
pm.environment.get() |
ark.env.get() |
pm.environment.set() |
ark.env.set() |
pm.test() |
ark.test() |
pm.expect() |
ark.expect() |
pm.sendRequest() |
ark.sendRequest() |
pm.globals.get() |
ark.globals.get() |
pm.variables.get() |
ark.variables.get() |
- In ApiArk: File → Import → Select Format: Bruno
- Select the Bruno collection directory
-
.brufiles are converted to ApiArk YAML
- In Insomnia: Application → Export Data
- Export as JSON or YAML
- In ApiArk: Import the exported file
- Import any OpenAPI 3.0 or 3.1 spec (JSON or YAML)
- Each endpoint becomes a request
- Request bodies are generated from schema examples
- Path parameters are extracted automatically
- Press
Ctrl+Kto open Command Palette - Type "Import cURL"
- Paste your cURL command
- The request is created with all headers, body, and auth parsed
curl -X POST https://api.example.com/users \ -H "Content-Type: application/json" \ -H "Authorization: Bearer eyJ..." \ -d '{"name": "John", "email": "john@example.com"}'
Becomes:
name: POST /users method: POST url: https://api.example.com/users headers: Content-Type: application/json Authorization: Bearer eyJ... body: type: json content: | {"name": "John", "email": "john@example.com"}
| Target | Format |
|---|---|
| Postman | Collection v2.1 .json
|
| OpenAPI | OpenAPI 3.0 .yaml
|
| cURL | Per-request cURL commands |
- Right-click a collection
- Select Export
- Choose the target format
- Save the file
Right-click any request → Copy as cURL. The full cURL command is copied to your clipboard, including:
- Method, URL, headers
- Auth (converted to header)
- Body content
- Query parameters
Besides cURL, generate code in multiple languages:
| Language | Library |
|---|---|
| JavaScript |
fetch API |
| Python | requests |
| cURL | Standard cURL |
Access via: Right-click request → Generate Code or click the </> button.
Your data is always yours. Every file is a standard format. Every database is open. We will never make it hard to switch away.
- Collections: Plain YAML files — readable by any tool
- Environments: Plain YAML — use anywhere
- Secrets: Standard
.envfiles — compatible with everything - History: SQLite — open with any SQLite client
- Settings: JSON — human-readable
Getting Started
Core Features
Advanced Features
Tools
Resources