import_api_spec
Import an OpenAPI 3.x document (as JSON), a Postman v2.x collection (JSON) or a curl command into a new collection, or into collection_id. All or nothing, and plan limits are checked first. Credentials are never imported (they become variables). Convert YAML to JSON before sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new collection. | |
| format | Yes | ||
| content | Yes | The document (object or JSON string), or the curl command. | |
| collection_id | No | Add to this collection instead of creating one. |