Export ticket statistics as CSV for specified period
GET
/openapi/reporting/ticketstatisticcsv
const url = 'https://open-api.replyco.com/openapi/reporting/ticketstatisticcsv';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://open-api.replyco.com/openapi/reporting/ticketstatisticcsv \ --header 'Authorization: Bearer <token>'Generates a downloadable CSV file with detailed ticket statistics.
CSV includes:
- Date/time
- Ticket counts
- Channel breakdown
- Status distribution
- Performance metrics
Use cases:
- External reporting
- Data analysis in Excel
- Archive generation
- Custom visualizations
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”from
string format: date-time
Start date for report period (optional)
to
string format: date-time
End date for report period (optional)
Responses
Section titled “Responses”Returns CSV report
Invalid date parameters
User is not authenticated or authorized