Logo
30-day challenge API Documentation

Import

Number of APIs: 2


1. Import an OpenAPI definition

POST https://api.getpostman.com/import/openapi

Imports an OpenAPI definition into Qodex as a new [Qodex Collection]

Include the following properties in the request body:

  • type — A string that contains the definition's type. One of:
    • string
    • json
    • file
  • input — The OpenAPI definition, based on the type value:
    • For string, the definition's stringified JSON object.
    • For json, the definition's JSON object.
    • For file, a definition file. To import a file, the request body must be a form-data request and include the type key with the file value.

You can include the following additional properties in the request body:

For more information, refer to the collection's examples.

Note:

If you import with the file input method, you must use the Qodex desktop app. The Qodex web app does not support this method type.



2. Import an exported Qodex data dump file

POST https://api.getpostman.com/import/exported

Imports exported Qodex data. This endpoint only accepts export data dump files.

For more information, read our [Exporting data dumps] documentation.

Important

This endpoint is deprecated.



ENDPOINTS