1. Who this guide is for
This guide explains how to use the API to get the learning status of each user in your organization for assigned content, with a summary by status. It's useful for powering dashboards, reports, or your company's LMS.
Before you start, read Start here: API authentication: there you'll find how to get your credentials and token.
2. The API call
GET <api_base_url>/report/users-learning-status
with the header Authorization: Bearer <access_token>.
Available filters (all optional)
| Parameter | Values | Purpose |
|---|---|---|
service |
aw = Awareness, ch = Channel |
Only data for a specific service |
team |
team name | Only users from that team |
status |
0, 1, 2, 3 (see table below) | Only users with that status |
limit |
from 1 to 1000 | Results per page |
page |
number starting from 1 | Page to retrieve |
Status values
| Value | Status | Meaning |
|---|---|---|
| 0 | not-active |
The user hasn't accepted the platform policy yet |
| 1 | not-regular |
The user has many contents still to complete |
| 2 | regular |
The user has few contents left to complete |
| 3 | aligned |
The user has completed all assigned contents |
3. What you receive
For each user: firstname, lastname, email, team, and status. You'll also get total_users and a summary with the number of users for each status.
{
"users": [
{ "firstname": "Anna", "lastname": "Ferrari", "email": "anna.ferrari@example.com", "team": "Finance", "status": "aligned" },
{ "firstname": "Marco", "lastname": "Rossi", "email": "marco.rossi@example.com", "team": "IT Operations", "status": "regular" }
],
"total_users": 150,
"summary": { "not-active": 10, "not-regular": 30, "regular": 50, "aligned": 60 },
"pagination": {
"current_page": 1, "per_page": 2, "total_items": 150, "total_pages": 75,
"has_next": true, "has_prev": false, "next_page": 2, "prev_page": null,
"first_page": 1, "last_page": 75, "from": 1, "to": 2
}
}
The pagination block is only included if you use limit and page. If you filter by status, the summary will only include the requested status.
| 💡 | If you have many users, always use pagination: pages with 50-100 results are a good balance. |
4. If something doesn't work
| Code | What it means | What to do |
|---|---|---|
EXT_1000 |
An invalid parameter or the requested page doesn't exist (the message will specify which) | Fix the parameter; for pages, check the total indicated in the message |
EXT_1004 |
The specified team doesn't exist | Check the team name in the platform |
EXT_1003 |
Temporary error retrieving data | Try again later; if it keeps happening, contact support |
EXT_1001 |
Token expired or invalid | Request a new token |
If the problem persists, contact support and provide the API call you made, the date and time, and the full error message. We can help you with testing, first in the test environment and then in production.