Get real-time statistics for today
GET
/openapi/reporting/todaystats
const url = 'https://open-api.replyco.com/openapi/reporting/todaystats';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/todaystats \ --header 'Authorization: Bearer <token>'Returns current day statistics refreshed in real-time.
Statistics included:
- New tickets created today
- Tickets resolved today
- Average response time
- Active chats
- Team availability
Use cases:
- Real-time dashboard monitoring
- Daily performance tracking
- Quick team status overview
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Returns today’s statistics
User is not authenticated or authorized