Training
Get training campaign enrollments details
Changed onRetrieve details about training enrollments with campaign and user filters
Required permission: training:read
get/v2/training/campaigns/enrollments
Request
- Base URLhttps://api.adaptivesecurity.com
- URLhttps://api.adaptivesecurity.com/v2/training/campaigns/enrollments
- AuthHTTP bearer
Query parameters
user_idstring nullable
User ID
campaign_idstring nullable
Training campaign ID
page_afterstring nullable
Page cursor
page_sizeinteger
Number of enrollments to return per page (max 1000)
Response
Successfully retrieved campaign enrollment details
Example response
{
"enrollments": [
{
"acknowledged_policies": [
{
"acknowledged_at": "2025-01-03T10:42:17.120Z",
"policy_id": "0c1f6a4e-7d2b-4f8a-9b3e-2a6d5c8e1f47",
"policy_version_id": "8d3b2e91-5c4a-4e6f-a7b8-9c0d1e2f3a4b",
"title": "Acceptable Use Policy",
"version_number": 3
}
],
"campaign": {
"employee_title": "2024 Annual Security Training",
"id": "e7f89a36-4b8f-4865-b11a-b0f280ae6a34",
"name": "Engineering Annual Training"
},
"completed_at": "2025-01-01T13:19:13.402Z",
"due_at": "2025-01-08T13:19:13.402Z",
"enrolled_at": "2025-01-01T13:19:13.402Z",
"id": "6a10d54c-f1bf-4d1d-8864-64bfac9a0c13",
"started_at": "2025-01-01T13:19:13.402Z",
"status": "IN_PROGRESS",
"unenrolled_at": "2025-01-02T13:19:13.402Z",
"user": {
"email": "john.smith@example.com",
"id": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"page_after": "3b495a63-23f2-4284-82d0-3aa5b5c0c753"
}Changes
- info
added the optional property
//to the response with the status
- info
- breaking
the response property
///became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status
- breaking