Skip to content

Importing from Postman

Postman collections (v2.1+) import directly without an LLM:

Terminal window
chainapi import postman-collection.json

The importer:

  • Maps Postman folders to resources (best-effort, with manual override)
  • Maps Postman environments to ChainAPI environments
  • Converts pre-request and test scripts to ChainAPI hooks (with warnings for unsupported APIs)
  • Detects token-extraction patterns and converts them to declarative extract: blocks

Plan to spend 15-30 min reviewing the output for any non-trivial collection.