Retrieve usage report status
GET/reporting/usage_reports/:id
Retrieve the status of a usage report. Response includes a link to the report once it is generated.
Request
Path Parameters
id stringrequired
ID of Usage Report to retrieve
Responses
200: usage_report
- application/json
401: Unauthorized
404: Resource not found
Request samples
curl -L 'https://api.telnyx.com/reporting/usage_reports/:id' \
-H 'Accept: application/json'
Response samples
{
"id": "string",
"start_time": "string",
"end_time": "string",
"connections": [
"string"
],
"aggregation_type": 0,
"status": 1,
"report_url": "string",
"result": {},
"created_at": "string",
"updated_at": "string"
}