Get tickets statistics grouped by time periods
GET
/openapi/reporting/ticketspertime
const url = 'https://open-api.replyco.com/openapi/reporting/ticketspertime';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/ticketspertime \ --header 'Authorization: Bearer <token>'Returns ticket count statistics organized by time intervals. Useful for visualizing ticket volume trends over time.
Data returned:
- Ticket counts per time period (hourly, daily, weekly, or monthly)
- Trend analysis data
- Peak activity periods
Use cases:
- Dashboard ticket volume charts
- Identifying busy periods
- Capacity planning
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Returns the ticket statistics grouped by time
User is not authenticated or authorized