Skip to navigation

Import an OpenAPI definition

View as Markdown

Imports an OpenAPI definition into Postman as a new Postman Collection.

Note:

  • This endpoint has a rate limit of 10 requests per 10 seconds.
  • The Postman web app does not support the file input method type.
  • If you do not include the workspace query parameter, the system imports the definition into the oldest personal Internal workspace you own.

Authentication

x-api-keystring
API Key authentication via header

Query parameters

workspacestringRequired
The workspace's ID.

Request

This endpoint expects an object.
JSON SchemaobjectRequired
OR
JSON StringifiedobjectRequired

Response

Successful Response
collectionslist of objectsOptional
A list of the collections created from the imported OpenAPI definition.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error