Skip to main content
GET
/
sessions
/
stats
Get dashboard stats
curl --request GET \
  --url https://api.example.com/sessions/stats \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total_sessions": 123,
    "live_now": 123,
    "scheduled": 123,
    "ended": 123
  },
  "timestamp": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Dashboard stats

success
boolean
Example:

true

data
object
timestamp
integer<int64>