# Import OpenAPI definition via url

**URL:** <https://community.postman.com/t/import-openapi-definition-via-url/43948>\
**Category:** Help Hub\
**Tags:** collections, openapi, import\
**Created:** [February 14, 2023, 7:38am UTC](https://community.postman.com/t/import-openapi-definition-via-url/43948 "2023-02-14T07:38:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anna6opoh1](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@anna6opoh1](https://community.postman.com/u/anna6opoh1)\
**Post date:** [February 14, 2023, 7:38am UTC](https://community.postman.com/t/import-openapi-definition-via-url/43948/1 "2023-02-14T07:38:20Z")

</div>

Hi, I would like to know how to import an OpenAPI definition and an environment file directly to Postman web.

I have seen on some webpages that in order to import an API to Postman web they use a url with query parameters, such as  
[https://elements.getpostman.com/view/import?&apiSchemaUrl=](https://elements.getpostman.com/view/import?&apiSchemaUrl=){JSON OpenAPI definition url}?sv={date in format YYYY-MM-DD}&sr=b&sig={some kind of signature}&se={current date}&sp=r&configurable (see image attached to this description).

I tried to look it up in the Postman documentation, but I couldn’t find any indication of how this url should be created. What should be the value of the ‘sig’ parameter?

What I am looking for is exactly this functionality of importing the definition to the web, without having to use the Postman API.

Is there a way of passing to this **[elements.getpostman.com/view/import](http://elements.getpostman.com/view/import)** endpoint the environment file?

Thanks.
