Import REST API - Postman Collection

It would be helpful to get started if Retool users could create Resources for a rest API via a Postman API Collection (.json file). This could create query resources for each of the requests included in the .json file, allowing users to configure them quickly within an App.

5 Likes

This would be great. If we could synchronise with a collection. GraphQL support would be awesome.

1 Like

Just to follow up here, as an immediate solution, anyone running into this could convert your Postman collection into an OpenAPI spec and use our OpenAPI integration. You could use something like APITransform or one of these two libraries:

Thanks for the links. Can you confirm Retool can import OpenAPI YAML files?

It's not clear in the docs.

Hey @dsoliman! Are you interested in turning your YAML file into an OpenAPI spec? If so, you'll need to use one of the links above. Once you've done that, Retool can access the OpenAPI spec via a new resource connection :slight_smile:

Once you get your OpenAPI spec how do you import it into retool? Can you give precise instructions on the steps?

Hi @aborochoff! Yup :slight_smile: You should be able to connect to your OpenAPI spec like so:

https://docs.retool.com/data-sources/quickstarts/api/openapi

Once you've connected to OpenAPI as a Retool resource, you can use it in queries in apps or workflows.

Let me know if you have any questions as you get started!