1. Who this guide is for
This guide explains how to use the API to get the training completion percentage for each user in your organization: how many modules have been assigned and released to them, how many they've completed, and a breakdown by service (Awareness and Channel).
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-progress-completion
with the header Authorization: Bearer <access_token>.
| Parameter (optional) | Values | What it's for |
|---|---|---|
team |
team name | Only users from that team |
limit |
from 1 to 1000 | Results per page |
page |
number starting from 1 | Page to retrieve |
3. What you receive
| Field | Meaning |
|---|---|
email |
User's email |
assigned_total |
Modules assigned and already released, across all services |
completed_total |
Modules completed, across all services |
completion_rate_total |
Overall completion percentage (from 0 to 100) |
services.awareness |
Modules released, completed, and percentage for Awareness |
services.channel |
Modules released, completed, and percentage for Channel |
{
"users": [
{
"email": "anna.ferrari@example.com",
"assigned_total": 20, "completed_total": 17, "completion_rate_total": 85.00,
"services": {
"awareness": { "assigned": 12, "completed": 11, "completion_rate": 91.67 },
"channel": { "assigned": 8, "completed": 6, "completion_rate": 75.00 }
}
}
],
"total_users": 230,
"pagination": {
"current_page": 1, "per_page": 1, "total_items": 230, "total_pages": 230,
"has_next": true, "has_prev": false, "next_page": 2, "prev_page": null,
"first_page": 1, "last_page": 230, "from": 1, "to": 1
}
}
The pagination block is only included if you use limit and page. The percentage will be 0 if no modules have been released yet for that service.
| 💡 | Who is included: only active users with a valid license and at least one released module. Deleted or suspended users are not shown. |
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 | Fix the parameter 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 include 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.