EduMe Stats API
Access user, team, and course statistics to gain insights into activity, performance, and metrics.
Access user, team, and course statistics to gain insights into activity, performance, and metrics.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/edume:edume-stats-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: documentation Stats API
version: 0.0.1
description: Access user, team, and course statistics to gain insights into activity, performance, and metrics.
servers:
- url: https://api.edume.com
security:
- api-key: []
tags:
- name: Stats
description: Access user, team, and course statistics to gain insights into activity, performance, and metrics.
paths:
/public/stats/sentNotifications:
get:
summary: Get Sent Notifications Report
operationId: getPublicStatsSentnotifications
description: 'Returns one row per notification sent to a learner in the period, with its delivery status.
Requires a customer-level API key. Dates are UTC days, so the whole of the end date is included. The period cannot exceed 31 days.
Use the `format` parameter to specify output format:
- `csv` (default): Returns CSV file
- `json`: Returns JSON array of objects
| Column | Description |
|-----------------|--------------------------------------------------------------|
| First name | Learner first name |
| Last name | Learner last name |
| Employee ID | Learner employee ID |
| Email | Learner email |
| Phone | Learner phone |
| Group name | Group the notification was sent to |
| Content id | Id of the content the notification is for |
| Content type | Type of the content the notification is for |
| Content title | Title of the content the notification is for |
| Sent at | When the notification was sent, DD/MM/YYYY HH:MM:SS |
| Status | Delivery status |
| Reason | Provider response, e.g. the reason a delivery failed |
| Delivery method | How the notification was delivered |
| Automated | Whether the notification was sent automatically |
| Reminder | Whether the notification was a reminder |'
parameters:
- name: startDate
in: query
schema:
type: string
format: date-time
description: First day of the period (UTC), ISO 8601
example: '2026-09-01'
description: First day of the period (UTC), ISO 8601
required: true
- name: endDate
in: query
schema:
type: string
format: date-time
description: Last day of the period (UTC, inclusive), ISO 8601. The period cannot exceed 31 days
example: '2026-09-30'
description: Last day of the period (UTC, inclusive), ISO 8601. The period cannot exceed 31 days
required: true
- name: format
in: query
schema:
type: string
default: csv
enum:
- csv
- json
tags:
- Stats
responses:
default:
description: Successful
content:
application/json:
schema:
type: string
/public/stats/users:
get:
summary: Get User Stats (v1)
operationId: getPublicStatsUsers
parameters:
- name: groupId
in: query
schema:
type: number
- name: eId
in: query
schema:
type:
- string
- 'null'
- name: email
in: query
schema:
type:
- string
- 'null'
x-format:
email: true
x-convert:
trim: true
- name: phone
in: query
schema:
type:
- string
- 'null'
pattern: ^\+?\d{9,}$
x-convert:
trim: true
- name: identifier
in: query
schema:
type: string
pattern: ^.+?:.+$
tags:
- Stats
responses:
default:
description: Successful
content:
application/json:
schema:
type: string
deprecated: true
/v2/public/stats/users:
get:
summary: Get User Stats (v2)
operationId: getV2PublicStatsUsers
description: '* Unfiltered: Return a list of all users and their status on courses & lessons.
* Filtered: A single user can be retrieved if one of the following filters is passed additionally as a parameter `email`, `phone`, `eId` (employee ID or external ID), or `identifier` (a colon-separated key-value pair constructed from the list of identifiers each user is associated with in the response from `/public/users` and `public/stats/users` endpoints).
## Use Cases:
* Unfiltered: A way to receive all user data including course completions across a group.
* Filtered: Way to spot-check an individual user''s course completions.
## Considerations:
* Unfiltered: Pulls report with all users without time restrictions - `Progress CSV for Course` is recommend for larger data sets.
* Filtered: Can only use one of the filter options at a time.
* When using specific start and end dates, `from` and `to`, you should use Unix timestamp in seconds or milliseconds, or ISO 8601.
* To request data for a date range, `from` accepts the magic keywords _lastXDays_, _lastXWeeks_, _lastXMonths_ and _lastXYears_, for the last X number of days, weeks, months and years respectively.
* To specify the current date (i.e. the date of the request) `to` accepts the magic keyword _now_ in UTC. Please use ISO 8601 format if you want to specify a timezone.
* ISO 8601 output takes the format of YYYY-MM-ddTHH:mm:ss+0000 (if `isoDate` and `includeTime` is true).'
parameters:
- name: groupId
in: query
schema:
type: number
description: Which group to get user stats from. Required when using customer-level API-key
example: 98
description: Which group to get user stats from. Required when using customer-level API-key
- name: eId
in: query
schema:
type:
- string
- 'null'
description: An employee ID for the user, or other additional detail. Only 1 of email, phone, eId or identifier can be provided
example: asfe2f
description: An employee ID for the user, or other additional detail. Only 1 of email, phone, eId or identifier can be provided
- name: email
in: query
schema:
type:
- string
- 'null'
description: The email of the user. Only 1 of email, phone, eId or identifier can be provided.
example: alex.cortez@gmail.com
x-format:
email: true
x-convert:
trim: true
description: The email of the user. Only 1 of email, phone, eId or identifier can be provided.
- name: phone
in: query
schema:
type:
- string
- 'null'
description: The phone number of the user with a minimum length of 9. Only 1 of email, phone, eId or identifier can be provided
example: '13457663445'
pattern: ^\+?\d{9,}$
x-convert:
trim: true
description: The phone number of the user with a minimum length of 9. Only 1 of email, phone, eId or identifier can be provided
- name: identifier
in: query
schema:
type: string
description: A colon-separated key and value pair from one of the user's identifiers. Only 1 of email, phone, eId or identifier can be provided
example: abc.email:alex.cortez@gmail.com
pattern: ^.+?:.+$
description: A colon-separated key and value pair from one of the user's identifiers. Only 1 of email, phone, eId or identifier can be provided
- name: from
in: query
schema:
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590707415000 = Thursday, 28 May 2020 23:10:15 GMT). Filters by last lesson & module completion >= from
example: '1590707415000'
anyOf:
- type: string
format: date-time
- type: string
pattern: ^last\d+(Day|Week|Month|Year)s?$
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590707415000 = Thursday, 28 May 2020 23:10:15 GMT). Filters by last lesson & module completion >= from
- name: to
in: query
schema:
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590708615000 = Thursday, 28 May 2020 23:30:15 GMT). Filters by last lesson & module completion <= to. If not provided, no upper bound filter will be applied
example: '1590708615000'
anyOf:
- type: string
format: date-time
- type: string
pattern: ^now$
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590708615000 = Thursday, 28 May 2020 23:30:15 GMT). Filters by last lesson & module completion <= to. If not provided, no upper bound filter will be applied
- name: includeGuides
in: query
schema:
type: boolean
description: To include Guides stats to results
example: true
description: To include Guides stats to results
- name: cursor
in: query
schema:
type: string
description: Opaque token used to fetch the next set of results
example: ewogICJ1c2VySWQiOiA2NQp9
description: Opaque token used to fetch the next set of results
- name: limit
in: query
schema:
type: integer
description: Sets the maximum number of items to be returned in a single request
example: 100
x-constraint:
sign: positive
description: Sets the maximum number of items to be returned in a single request
tags:
- Stats
responses:
'200':
description: Successful
content:
application/json:
schema:
type: object
example:
nextCursor: null
data:
- id: 19
email: example@edume.com
phone: null
firstName: Example
lastName: Example
createdAt: '2016-10-25T15:24:48.188Z'
employeeId: null
activated: true
status: suspended
identifiers: []
group: UK
teams:
- edume-default
courses: []
lessons: []
guides: []
- id: 8443
email: example2@edume.com
phone: null
firstName: Example
lastName: Example
createdAt: '2017-02-22T16:09:01.365Z'
employeeId: null
activated: true
identifiers:
- key: xyz.email
value: foo@gmail.com
createdAt: '2022-03-01T13:56:09.701Z'
group: UK
teams:
- edume-default
courses:
- id: 4132
title: eduMe Demo course
modules:
- id: 4492
title: eduMe Demo course
status: complete
completionDate: '2017-02-22T16:18:59.924Z'
lessons:
- id: 14011
title: Sales Skills 101
score: '100.00'
date: '2017-02-22T16:17:44.124Z'
lessonNumber: 1
moduleId: 4492
courseId: 4132
- id: 14079
title: The basics of cold calling
score: '70.00'
date: '2017-02-22T16:18:59.906Z'
lessonNumber: 2
moduleId: 4492
courseId: 4132
guides:
- id: 1
title: eduMe Demo Guide
status: complete
completionDate: '2017-02-22T16:18:59.924Z'
- id: 2
title: eduMe Demo Guide 2
status: in progress
completionDate: null
properties:
nextCursor:
type:
- string
- 'null'
data:
type: array
items:
type: string
/v2/public/stats/course/{courseKeyOrId}:
get:
summary: Get Progress for Course (v2)
operationId: getV2PublicStatsCourseCoursekeyorid
parameters:
- name: courseKeyOrId
in: path
schema:
anyOf:
- type: number
- type: string
required: true
- name: groupId
in: query
schema:
type: integer
- name: dayRange
in: query
schema:
type: integer
minimum: 1
maximum: 60
- name: translate
in: query
schema:
type: boolean
- name: isoDate
in: query
schema:
type: boolean
default: false
- name: includeTime
in: query
schema:
type: boolean
default: false
- name: startDateTimeInMs
in: query
schema:
type: integer
- name: endDateTimeInMs
in: query
schema:
type: integer
- name: showLatestCompletion
in: query
schema:
type: boolean
- name: showIdentifiers
in: query
schema:
type: boolean
- name: showCertificateId
in: query
schema:
type: boolean
tags:
- Stats
responses:
default:
description: Successful
content:
application/json:
schema:
type: string
deprecated: true
/v2/public/stats/team/{teamId}:
get:
summary: Get Stats for Team (v2)
operationId: getV2PublicStatsTeamTeamid
description: 'Returns a CSV file of user progress on courses and lessons associated with the specified team
| Column Heading | Description | Notes |
|-----------------------------------|--------------------------------------------------------------------------------------|-------|
| **Course ID** | Course id | Included if `includeCourseId=true` |
| **Course Title** | Course title | |
| **First Name** | First name of the user | |
| **Last Name** | Last name of the user | |
| **Email** | Email address of the user | |
| **Phone** | Phone number of the user | |
| **User Info** | An id or reference number associated with the user | |
| **Identifiers** | A list of external ids constructed from colon-separated key-value pairs | Included if `showIdentifiers=true` |
| **User Activation Date** | The date the user activated their account | |
| **Course Status** | The user''s status on the course. One of _Not started_, _In progress_ or _Completed_ | |
| **Course Start Date** | The date the user started the course | |
| **Course Completion Date** | The date the user completed all activities in the course | |
| **Latest Course Completion Date** | The most recent date the user completed the course | Included if `showLatestCompletion=true` |
| **Course Certificate ID** | The certificate ID generated on the first course completion | Included if `showCertificateId=true` |
| **Assignment Date (UTC)** | The date the course was assigned to the user | Included if `showAssignmentDate=true` |
| **Lesson Score** | The user''s score in each lesson | Each lesson will be contained in its own column |
| **Overall Score** | The user''s overall score for the course, calculated as the average of every lesson | This is only present if the user has completed the whole course |
## Use Cases:
* To check progress of users within a team and all courses and lessons they are assigned to
## Considerations:
* If you don''t have `teamId` then use get group with team
* When using specific start and end dates, `from` and `to`, you should use Unix timestamp in seconds or milliseconds, or ISO 8601.
* To request data for a date range, `from` accepts the magic keywords _lastXDays_, _lastXWeeks_, _lastXMonths_ and _lastXYears_, for the last X number of days, weeks, months and years respectively.
* To specify the current date (i.e. the date of the request) `to` accepts the magic keyword _now_ in UTC. Please use ISO 8601 format if you want to specify a timezone.
* ISO 8601 output takes the format of YYYY-MM-ddTHH:mm:ss+0000 (if `isoDate` and `includeTime` is true).
* To receive ''Not Started'' status, don''t provide values for `from`, `to` parameters.'
parameters:
- name: teamId
in: path
schema:
type: string
description: The id of the team to get statistics for
example: 142
description: The id of the team to get statistics for
required: true
- name: isoDate
in: query
schema:
type: boolean
description: Use ISO 8601 for formatting the date, defaults to true
default: true
description: Use ISO 8601 for formatting the date, defaults to true
- name: includeTime
in: query
schema:
type: boolean
description: Include time in the date fields, defaults to true
default: true
description: Include time in the date fields, defaults to true
- name: from
in: query
schema:
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590707415000 = Thursday, 28 May 2020 23:10:15 GMT). Filters by last lesson completion >= `from`
example: 1590707415000
anyOf:
- type: string
format: date-time
- type: string
pattern: ^last\d+(Day|Week|Month|Year)s?$
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590707415000 = Thursday, 28 May 2020 23:10:15 GMT). Filters by last lesson completion >= `from`
- name: to
in: query
schema:
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590708615000 = Thursday, 28 May 2020 23:30:15 GMT). Filters by last lesson completion <= to. If not provided, no upper bound filter will be applied. Requires `from`
example: 1590708615000
anyOf:
- type: string
format: date-time
- type: string
pattern: ^now$
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590708615000 = Thursday, 28 May 2020 23:30:15 GMT). Filters by last lesson completion <= to. If not provided, no upper bound filter will be applied. Requires `from`
- name: showLatestCompletion
in: query
schema:
type: boolean
description: Include additional column showing the most recent course completion date, defaults to true.
default: true
description: Include additional column showing the most recent course completion date, defaults to true.
- name: showIdentifiers
in: query
schema:
type: boolean
description: Include additional column showing the user identifiers, defaults to true
default: true
description: Include additional column showing the user identifiers, defaults to true
- name: showCertificateId
in: query
schema:
type: boolean
description: Include completion certificate id for content where certificate is enabled. Customer must be enabled to store completion certificates
default: false
description: Include completion certificate id for content where certificate is enabled. Customer must be enabled to store completion certificates
- name: reassigned
in: query
schema:
type: boolean
description: Include completions status from learners reassigned to course
default: false
description: Include completions status from learners reassigned to course
- name: includeCourseId
in: query
schema:
type: boolean
description: Include Course ID column in the CSV, defaults to false
default: false
description: Include Course ID column in the CSV, defaults to false
- name: showAssignmentDate
in: query
schema:
type: boolean
description: Include assignment date column in the CSV, defaults to false
default: false
description: Include assignment date column in the CSV, defaults to false
tags:
- Stats
responses:
'200':
description: Successful
content:
application/json:
schema:
type: string
example: 'Course Title,First name,Last name,Email,Phone,User info,Identifiers,User activation date (UTC),Course status,Course start date (UTC),Course completion date (UTC),Latest course retake completion date (UTC),Lesson 1 score,Overall score
eduMe Demo course,Alexander,Cortez,alex.cortez@gmail.com,,,,2020-02-07T17:30:00+0000,Completed,2020-02-11T12:00:00+0000,2020-02-11T13:00:00+0000,,100%,100%
eduMe Demo course,Maria,Rodriguez,maria.rodriguez@yahoo.com,,,2020-05-15T12:45:00+0000,Not started,,,,,'
/v3/public/stats/course/{courseId}:
get:
summary: Get Progress for Course (v3)
operationId: getV3PublicStatsCourseCourseid
description: 'Returns a CSV file or JSON array of the progress of users in the group in a course, over a range of days.
Use the `format` parameter to specify output format:
- `csv` (default): Returns CSV file
- `json`: Returns JSON array of objects
The CSV will have the following columns, for each user in the group or team:
| Column Heading | Description | Notes |
|-----------------------------------|--------------------------------------------------------------------------------------|-------|
| **First Name** | First name of the user | |
| **Last Name** | Last name of the user | |
| **Email** | Email address of the user | |
| **Phone** | Phone number of the user | |
| **User info** | An id or reference number associated with the user | |
| **Identifiers** | A list of external ids constructed from colon-separated key-value pairs | Included if `showIdentifiers=true` |
| **User Activation Date** | The date the user activated their account | |
| **Teams** | A comma-separated list of teams the user is assigned to | |
| **Course Status** | The user''s status on the course. One of _Not started_, _In progress_ or _Completed_ | |
| **Course Start Date** | The date the user started the course | |
| **Course Completion Date** | The date the user completed all activities in the course | |
| **Completion Language** | The language in which the course was completed | Included if MLS feature is enabled |
| **Latest Course Completion Date** | The most recent date the user completed the course | Included if `showLatestCompletion=true` |
| **Course Certificate ID** | The certificate ID generated on the first course completion | Included if `showCertificateId=true` |
| **Lesson ... Score** | The user''s score in each lesson | Each lesson will be contained in its own column |
| **Overall Score** | The user''s overall score for the course, calculated as the average of every lesson | This is only present if the user has completed the whole course |
## Use Cases:
* Show user completions within a course
* Use with course completion webhook to ensure no user blocking flows within an advanced integration
## Considerations:
* When using specific start and end dates, `from` and `to`, you should use Unix timestamp in seconds or milliseconds, or ISO 8601.
* To request data for a date range, `from` accepts the magic keywords _lastXDays_, _lastXWeeks_, _lastXMonths_ and _lastXYears_, for the last X number of days, weeks, months and years respectively.
* To specify the current date (i.e. the date of the request) `to` accepts the magic keyword _now_ in UTC. Please use ISO 8601 format if you want to specify a timezone.
* ISO 8601 output takes the format of YYYY-MM-ddTHH:mm:ss+0000 (if `isoDate` and `includeTime` is true).
* To receive ''Not Started'' status, don''t provide values for `from`, `to` parameters.'
parameters:
- name: courseId
in: path
schema:
description: The id of the course to get statistics for
example: 1000
anyOf:
- type: number
- type: string
description: The id of the course to get statistics for
required: true
- name: format
in: query
schema:
type: string
default: csv
enum:
- csv
- json
- name: groupId
in: query
schema:
type: integer
description: Which group to get progress stats from. Required when using customer-level API-key
example: 98
description: Which group to get progress stats from. Required when using customer-level API-key
- name: translate
in: query
schema:
type: boolean
- name: isoDate
in: query
schema:
type: boolean
description: Use ISO 8601 for formatting the date, defaults to true
default: true
description: Use ISO 8601 for formatting the date, defaults to true
- name: includeTime
in: query
schema:
type: boolean
description: Include time in the date fields, defaults to true.
default: true
description: Include time in the date fields, defaults to true.
- name: from
in: query
schema:
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590707415000 = Thursday, 28 May 2020 23:10:15 GMT). Filters by last lesson completion >= `from`
example: 1590707415000
anyOf:
- type: string
format: date-time
- type: string
pattern: ^last\d+(Day|Week|Month|Year)s?$
description: Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590707415000 = Thursday, 28 May 2020 23:10:15 GMT). Filters by last lesson completion >= `from`
- name: to
in: query
schema:
description: Optional Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590708615000 = Thursday, 28 May 2020 23:30:15 GMT). Filters by last lesson completion <= to. If not provided, no upper bound filter will be applied. Requires `from`
example: 1590708615000
anyOf:
- type: string
format: date-time
- type: string
pattern: ^now$
description: Optional Unix timestamp in seconds or milliseconds, or ISO 8601 (eg 1590708615000 = Thursday, 28 May 2020 23:30:15 GMT). Filters by last lesson completion <= to. If not provided, no upper bound filter will be applied. Requires `from`
- name: showLatestCompletion
in: query
schema:
type: boolean
description: Include additional column showing the most recent course completion date, defaults to true
default: true
description: Include additional column showing the most recent course completion date, defaults to true
- name: showIdentifiers
in: query
schema:
type: boolean
description: Include additional column showing the user identifiers, defaults to true
default: true
description: Include additional column showing the user identifiers, defaults to true
- name: showCertificateId
in: query
schema:
type: boolean
description: Include completion certificate id for content where certificate is enabled. Customer must be enabled to store completion certificates
default: false
description: Include completion certificate id for content where certificate is enabled. Customer must be enabled to store completion certificates
- name: reassigned
in: query
schema:
type: boolean
description: Include completions status from learners reassigned to course, default to false
default: false
description: Include completions status from learners reassigned to course, default to false
tags:
- Stats
responses:
'200':
description: Successful - returns CSV string when format=csv (default) or JSON array when format=json
content:
application/json:
schema:
anyOf:
- type: string
example: 'First Name,Last Name,Email,Phone,User info,Identifiers,User Activation Date,Teams,Course Status,Course Start Date,Course Completion Date,Completion Language,Latest Course Completion Date,Lesson 1 Score,Lesson 2 Score,Overall Score
Alexander,Cortez,alex.cortez@gmail.com,,,,2018-06-14T19:32:22+0000,"Aidan",Not started,,,,,,,
Maria,Rodriguez,maria.rodriguez@yahoo.com,,,,2018-06-14T19:32:22+0000,"Aidan",Not started,,,,,,,
John,Collins,john.collins@gmail.com,,,,2018-08-12T20:30:00+0000,"Aidan",Completed,2018-08-12T20:35:00+0000,2018-08-12T20:40:00+0000,English (en),,100%,100%,100%'
x-meta:
format: csv
- type: array
example:
- First Name: Alexander
Last Name: Cortez
Email: alex.cortez@gmail.com
Phone: null
User info: null
Identifiers: null
User Activation Date: 2018-06-14T19:32:22+0000
Teams: Aidan
Course Status: Not started
Course Start Date: null
Course Completion Date: null
Completion Language: null
Latest Course Completion Date: null
Lesson 1 Score: null
Lesson 2 Score: null
Overall Score: null
- First Name: John
Last Name: Collins
Email: john.collins@gmail.com
Phone: null
User info: null
Identifiers: null
User Activation Date: 2018-08-12T20:30:00+0000
Teams: Aidan
Course Status: Completed
Course Start Date: 2018-08-12T20:35:00+0000
Course Completion Date: 2018-08-12T20:40:00+0000
Completion Language: English (en)
Latest Course Completion Date: null
Lesson 1 Score: 100%
Lesson 2 Score: 100%
Overall Score: 100%
x-meta:
format: json
items:
type: object
components:
securitySchemes:
api-key:
type: apiKey
name: x-api-key
in: header