GET
/
activity
/
workspace
/
leaderboard
curl --request GET \
  --url https://api.readmin.app/activity/workspace/leaderboard \
  --header 'loader-id: <api-key>'
{
  "success": true,
  "leaderboard": [
    {
      "_id": "<string>",
      "userId": "<string>",
      "groupId": "<string>",
      "distribution": "<string>",
      "sessions": [
        "<string>"
      ],
      "minutes": {
        "total": 123,
        "active": 123,
        "inactive": 123,
        "typing": 123,
        "messages": 123
      },
      "attendedSessions": [
        "<string>"
      ],
      "goals": {},
      "updated": "2023-11-07T05:31:56Z",
      "created": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

loader-id
string
header
required

Response

200
application/json
Successful operation
success
boolean
leaderboard
object[]