Documentation and testing via Swagger

Documentation

You can find the Swagger documentation of the Webpower REST API via:

https://[license].webpower.eu/admin/api/swagger

[license] should be replaced with the name of your license, which you also see in the URL while navigating through Webpower.

 

Testing

To easily test whether your credentials are correct and the API calls do what you want them to do, you can authorize via Swagger and execute the calls. Be aware that this could affect your production environment. We advise testing in a separate campaign or in an acceptance environment.

To start testing via Swagger:

 

1. Click the Authorize button at the top right.

mceclip1.png

2. Scroll to the top until you see clientCredentials.

3. Fill your client_id and client_secret and click Authorize.

4. Close the Authorization screen.

 

You can now try the numerous calls by clicking them and using the Try it out button.

tmp.png