Check report status
Once a report has been requested, it may take some time to generate. You can check on the progress of your report by calling the GET /v2/reports/:id endpoint, for example:
Replace REQUEST_ID with the request_id returned by the initial call to the create report endpoint.
In addition to polling for the report's status, you can register a webhook that Vonage's APIs will make a request to when the report has been generated. To do this, specify a callback_url parameter when creating the report.
The response will contain information about the report. The download_report field only becomes visible when the report generation is completed. You can use it to retrieve the report, as will be shown in the next step.
Create a CSV report using the command line
Create a CSV report using the command line tool, curl.