Provide authorization to test APIs in Swagger

Learn to enable authorization to test APIs in Swagger for selected regular users

Last published at: August 21st, 2025

You can watch the YouTube video here. 

 

To use the FlowWright REST APIs, navigate to the Help page and select the “Technical - REST API” menu option. 

 

Note: The REST API Permissions control the user's access to the REST API Swagger page. As you observe, the ADMIN user has been granted access to execute the REST APIs. Click the link here to access the help documentation. 

 

As an ADMIN User, you can grant privileges to a regular user (non-admin) to execute FlowWright APIs using the API Token. To do this, navigate to the Administration - User Management page. Search for and select the user from the table, then click the "View - Generate API Token" menu option. 

 

A pop-up window is displayed for configuration. Provide the valid time duration and click the “Generate” button. 

 

The API Token is generated for the selected user. Click the “Copy" button to store this information on the clipboard. 

 

FlowWright REST APIs, documented using Swagger, are rendered on a new page, as shown below. As you can see, the REST APIs are currently locked for execution. Click the “Authorize” button.  

 

Copy-paste the user API Token value and click the “Authorize” button.  

 

The user is now authorized to execute the FlowWright APIs as long as the token remains valid.