List Training Enrollments
Retrieves a list of all training enrollments in your KnowBe4 account.
Parameters
Parameter | Description |
---|---|
Campaign ID | Returns a list of all training enrollments filtered by a campaign. If the Show Scores option is enabled for a training campaign, the scores will also be displayed in the API. |
Store Purchase ID | Returns a list of all training enrollments filtered by module. |
User ID | Returns a list of all training enrollments filtered by a user. |
Example Output
{
"enrollment_id": 1425526,
"content_type": "Uploaded Policy",
"module_name": "Acceptable Use Policy",
"user": {
"id": 796742,
"first_name": "Sarah",
"last_name": "Thomas",
"email": "s_thomas@kb4-demo.com"
},
"campaign_name": "New Employee Policies",
"enrollment_date": "2019-04-02T15:02:38.000Z",
"start_date": "2019-04-02T15:02:38.000Z",
"completion_date": "2019-04-02T15:02:38.000Z",
"status": "Passed",
"time_spent": 2340,
"policy_acknowledged": false
}
Workflow Library Example
List Training Enrollments with Knowbe4 and Send Results Via Email