curl --request GET \
--url https://app.replay.sale/api/analytics/get-active-user-count \
--header 'x-api-key: <api-key>'{
"totalCounts": {
"total": 4,
"reps": 2,
"managers": 1,
"lms": 1
},
"mainCompany": {
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyName": "<string>",
"counts": {
"total": 1,
"reps": 1,
"managers": 1,
"lms": 1
},
"users": [
{
"firstName": "<string>",
"lastName": "<string>",
"role": "Rep",
"lastLoggedIn": "2023-11-07T05:31:56Z"
}
]
},
"childCompanies": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyName": "<string>",
"counts": {
"total": 1,
"reps": 1,
"managers": 1,
"lms": 1
},
"users": [
{
"firstName": "<string>",
"lastName": "<string>",
"role": "Rep",
"lastLoggedIn": "2023-11-07T05:31:56Z"
}
]
}
]
}Returns detailed information about reps and managers who have active logins to Replay, as well as any LMS users who have opened Replay. Returns information for the main company and any existing child companies
curl --request GET \
--url https://app.replay.sale/api/analytics/get-active-user-count \
--header 'x-api-key: <api-key>'{
"totalCounts": {
"total": 4,
"reps": 2,
"managers": 1,
"lms": 1
},
"mainCompany": {
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyName": "<string>",
"counts": {
"total": 1,
"reps": 1,
"managers": 1,
"lms": 1
},
"users": [
{
"firstName": "<string>",
"lastName": "<string>",
"role": "Rep",
"lastLoggedIn": "2023-11-07T05:31:56Z"
}
]
},
"childCompanies": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyName": "<string>",
"counts": {
"total": 1,
"reps": 1,
"managers": 1,
"lms": 1
},
"users": [
{
"firstName": "<string>",
"lastName": "<string>",
"role": "Rep",
"lastLoggedIn": "2023-11-07T05:31:56Z"
}
]
}
]
}API key for authentication. Get your API key from your company settings.
Successfully retrieved active user details
Show child attributes
Show child attributes