Docs
get

Get current statistics for authenticated website

Retrieves current statistics for the authenticated website.

Public Statistics API
Endpoint
/statistics/current
Method
get
Plan Required
FREE
Authorization
Bearer Token required
Permissions
READ
Content-Type
application/json

API Tester(Loading...)

Loading API token configuration...

Payload

This endpoint does not require any parameters.

Response

200Current website statistics

totalConversations

number
1250

activeConversations

number
23

totalMessages

number
8750

totalVisitors

number
892

onlineVisitors

number
15

averageResponseTime

number
45.5
401Unauthorized - Invalid or missing API token
No response details available

Expected Response

JSON
{
  "totalConversations": 1250,
  "activeConversations": 23,
  "totalMessages": 8750,
  "totalVisitors": 892,
  "onlineVisitors": 15,
  "averageResponseTime": 45.5
}

API Access Token

Base URL

https://api.5chat.io