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:

curl -u API_KEY:API_SECRET https://api.nexmo.com/v2/reports/REQUEST_ID

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.

Steps
1
Introduction
2
Create a CSV report using the command line
3
Check report status
4
Download a report
5
What's next?