DownloadHistoryReport
Downloads the required history report.
Please note, that the history report can return in a compressed state (*.gzip). In order for CURL to process a compressed file correctly, add the **--compressed** key.
Allowed roles: `Owner`, `Admin`, `Supervisor`, `Accountant`, `Payer`.
**Example request:** Download the completed history report with id = 1.
Authentication
AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value:
```
Authorization: Bearer $VOXIMPLANT_TOKEN
```
See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.
Query parameters
history_report_id
The history report ID
Response
Successful response
file_content
The method returns a raw data, there is no ‘file_content’ parameter in fact