If you created an API link in order to query storage usage data or perhaps for an itemised billing report, here is a quick guide on how you can use the API key in the HTTP header in order to integrate it with your RMM or PSA systems.
Once you generate the API link together, an API key is provided, copy and take note of them (especially the API Key). This API key will not be displayed again so it is important that you take note of it.
The example below, will simply be using the Postman application to showcase the functionality. When using the API link provided, as you can see in the screenshot below, X-API-KEY is used as a 'Key' in the HTTP Headers with the 'Value' being the API Key.
This will produce the result in JSON format for the usage details as you can see in the 'Body' section below:
Please note that the API can only be accessed at most once every 5 minutes. If you attempt to request the data again in less than 5 minutes you will get a 'Forbidden' or a 'Bad Request' error message, so ensure that the application you're using is set to request new data at least 5 minutes apart.
Ensure that you are requesting the data from an IP address which is allowed to access this data if you chose to limit the originating IP addresses.