Swagger - Open API

This action lets you access the APIs and make API calls of any service that is built using Swagger. In essence, this action lets you create a custom action form by simply entering a JSON file. To achieve this, add this to your canvas, and configure it. 

In the ‘Swagger File URL’ field, enter the URL for the swagger JSON file of the service you wish to get the APIs of and click on the ‘Fetch’ button. For example, if you want to retrieve the APIs of ‘Petstore’, enter http://petstore.swagger.io/v2/swagger.json in the ‘Swagger File URL’ field, and click on ‘Fetch’. (Petstore is a sample Swagger JSON). 1.png

A new ‘API Request’ field will be automatically added to the form with the associated APIs in its drop down list. Select the API you want to execute. 2.png

Once you have selected an API, the API form will automatically populate under the ‘API Request’ field. This form will display all the mandatory as well as optional fields of the selected API call.


Enter relevant data in the fields, and click on ‘Done’ to return to your canvas. Now, when you test the workflow with this action, the selected API call will be executed. 

  • output-arrow swagger Swagger - Open API
    • left-triangle text string
    • left-triangle headers object
    • left-triangle status number