Using the Morpheus API
To access Morpheus functions from the API level you must first generate a Token. To do this, press on your username in the upper right corner and select "USER SETTINGS".
![](https://web-wekeo-files.vercel.app/using-the-morpheus-api-01-user.png)
After entering the settings, press the "API ACCESS" button, which is located under the "User Settings" section.
![](https://web-wekeo-files.vercel.app/using-the-morpheus-api-02-api.png)
For the "morph-api" row, press ACTION and then the "Regenerate" option.
![](https://web-wekeo-files.vercel.app/using-the-morpheus-api-03-regenerate.png)
Selecting this option will generate a new token that will allow you to authorize.
![](https://web-wekeo-files.vercel.app/using-the-morpheus-api-04-token.png)
Remember to save the token, because after some time it will be partially hide.
![](https://web-wekeo-files.vercel.app/using-the-morpheus-api-05-hide.png)
A detailed list of available endpoints can be found in the official Morpheus documentation.
As an example, you can get the list of instances in your tenant like this:
$ curl "https://morpheus.dpi.wekeo.eu/api/instances" -H "Authorization: BEARER <token>" | python3 -m json.tool
replacing <token> with the token obtained above.