To generate a report, pass a template code and parameters in the request body.
The list of available templates and parameters can be found in the List report templates operation.
The template code should be a code field of the template.
The parameters should be a dictionary with keys and values related to the template.
To get a report file, check the status of the task using the List generated reports operation. The file will be available when the status is Completed.
To download the file, use the Download a report operation with the report UUID.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Code of the report template to use for generating the report.
1Parameters for the report. The keys and values should match the template's parameter definitions. See the reports templates operation for available templates.
{
"date_from": "2025-01-01",
"date_to": "2025-02-01"
}Task creation time
Task update time
ClosingPeriod - closing_periodImportData - import_dataReport - reportStopSubscriptions - stop_subscriptionsClosingPeriod, ImportData, Report, StopSubscriptions Pending - pendingInProgress - in_progressCompleted - completedFailed - failedCancelled - cancelledPending, InProgress, Completed, Failed, Cancelled Processing notes. Contains additional information about the task processing.
Parameters for the task. The structure depends on the task type. For report tasks, see available templates and their parameters at the reports templates operation.