[Start Page](https://operations-portal.egi.eu/api-documentation) - You must authenticate with your EGI account.
If you don't have a token yet, click the button "Ask for token". Else, your token is displayed on the page.
If you don't have a token yet, click the button . Else, your token is displayed on the page.
# How to use the token ?
...
...
@@ -18,18 +18,17 @@ The token must be set to the "X-API-Key" parameter in the HTTP header.
If you have a valid token, you can request the API from anywhere, including it's [start page]( https://operations-portal.egi.eu/api-documentation), which provides an user interface, and demo features.
To do this, click the "Authorize" button, and set your token value in the prompt. In this way your token will be automatically set in the header (X-API-Key) for all your requests on this page.
To do this, click the  button, and set your token value in the prompt. In this way your token will be automatically set in the header (X-API-Key) for all your requests on this page.
You can now request every endpoint of the API with a friendly user interface.
Send your request by clicking "Try it" on the route you want to request, set the appropriate parameters, and click "Execute".
As soon as the response is back, the API user interface will display :
- The response's HTTP status and content (in case of error the API usually returns a helper message specifying whether it's a request problem or a server failure).
- TODO img
- The request URL matching your parameters and an re-usable Curl command line to request this URL from anywhere (see below).