WSO2 API Cloud documentation is getting a whole new look at
Try WSO2 Cloud for Free
Sign in

All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use publicly hosted Swagger files to create APIs using WSO2 API Cloud. There are 2 methods to create an API using a Swagger file.NOTE:


Only Swagger 2.0 file format is supported. If your file is of an earlier version, please upgrade it prior to using it in WSO2 API Cloud.


Table of Contents

Designing a new API with a Swagger File

The steps below show how to create an API using a Swagger file.

  1. Log in to the API Cloud and the API Publisher will open automatically. Start creating an API by selecting Design new API and clicking Start Creating.

  2. In API Definition click Import to import all the associated methods and parameters. 
  3. In the dialog box that appears, select Swagger URL. Paste the URL given below and click Import.
    Sample URL :
  4. Give the information in the table below.

    FieldSample Value
  5. Continue on to the Manage section to edit, save and/or publish the API. 

Create a new API using and existing API definition

If you already have an existing API you can use the Swagger definition to replicate it.