Waiting for engine...
Skip to main content

Using the Swagger UI API

Swagger is an open-source set of specifications, tools, and rules for developing and describing RESTful APIs. The Swagger framework lets developers create interactive, machine-readable, and human-readable API documentation.

Using Swagger at MFT

MFT engineers have created a Swagger page to document APIs. Each PUT, GET, POST call is listed on the page for each section of the UI. The Schemas listed at the bottom of the page are associated with the calls listed.

note

You may find that some calls may not use the entire associated schema that is listed on the MFT Swagger page under Schemas.

Testing APIs with Swagger

All the documented APIs can be tested on the Swagger page, by clicking Try It. You must first authenticate by creating a user token or API Key to use the Try It button.

Authorization

API Authentication can be achieved in two ways:

  1. User Token Authentication - Expires in 24 hours.
  2. API Key

To use your newly created token, click the Authorize button. This action begins your session. The token will be applied automatically each time you click the Try It button, which is located in the upper right-hand corner of the MFT Swagger page.

Your Swagger page can be accessed easily by navigating to your login page and then type the /swagger at the end of the URL. Below are examples for each region instance.

RegionURL
UShttps://us.thruinc.com/swagger
UKhttps://uk.thruinc.com/swagger
GERhttps://eu.thruinc.com/swagger
AUShttps://au.thruinc.com/swagger
On this Page