The Libraesva Email Archiver exposes a set of Application Programming Interface.
APIs are always available, the list of all available APIs can be found at path /api/v1/doc of your Archiver.
Eg.: demo.archiver.esvacloud.com/api/v1/doc
You can interact with APIs directly from the documentation page by authenticating with the “Authorize” button at the top right of the page, this authentication will require a valid JWT.
To generate the JWT a login must be performed on the “/api/{version}/login” endpoint, which will return a token (the JWT) and a refresh token, the refresh token can be used to regenerate the JWT after it expires.
To finalize the authentication you must paste the JWT with the keyword “Bearer” in front of it and then press “Authorize”, now you are correctly authenticated and can try out any of the listed endpoints.
Example:

Once the JWT token expires you can generate a new one using the “Refresh Token” returned from the /login API call, to generate a new JWT POST the refresh token as parameter to the “/api/{version}/refresh” endpoint.
This will return a new valid JWT and a new Refresh Token to use for subsequent API calls.