Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Import & Export

Anes Berbic edited this page Mar 13, 2026 · 1 revision

Import & Export

Migrate to ApiArk from any major API tool in seconds, or export to share with teams using other tools.


Import

Supported Formats

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

How to Import (Desktop)

  1. Go to File → Import (or press Ctrl+I or use Command Palette)
  2. Select the file or paste cURL
  3. ApiArk auto-detects the format
  4. Preview the import — see what will be created
  5. Choose the destination collection/folder
  6. Click Import

Import Summary

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

Import from Postman

Export from Postman

  1. In Postman, select your collection
  2. Click ...Export
  3. Choose Collection v2.1 format
  4. Save the .json file

What Gets Imported

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

Postman Script Compatibility

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()

Import from Bruno

  1. In ApiArk: File → Import → Select Format: Bruno
  2. Select the Bruno collection directory
  3. .bru files are converted to ApiArk YAML

Import from Insomnia

  1. In Insomnia: Application → Export Data
  2. Export as JSON or YAML
  3. In ApiArk: Import the exported file

Import from OpenAPI

  1. Import any OpenAPI 3.0 or 3.1 spec (JSON or YAML)
  2. Each endpoint becomes a request
  3. Request bodies are generated from schema examples
  4. Path parameters are extracted automatically

Import from cURL

In the UI

  1. Press Ctrl+K to open Command Palette
  2. Type "Import cURL"
  3. Paste your cURL command
  4. The request is created with all headers, body, and auth parsed

Example

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"}

Export

Supported Formats

Target Format
Postman Collection v2.1 .json
OpenAPI OpenAPI 3.0 .yaml
cURL Per-request cURL commands

How to Export

  1. Right-click a collection
  2. Select Export
  3. Choose the target format
  4. Save the file

Export to cURL

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

Code Generation

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.


Data Portability Promise

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 .env files — compatible with everything
  • History: SQLite — open with any SQLite client
  • Settings: JSON — human-readable

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /