Get training courses and due dates for a company with the Phin API
This route returns the active training courses for a company. Each course includes its start date, due date, and the percentage of active enrolled users who have completed it.
Get Training Courses for a Company
GET /partners/{partnerId}/companies/{companyId}/training
Training Course Attribute Reference
| Field Name | Description | Value Type | Optional (Y/N) |
|---|---|---|---|
| name | The name of the training course | String | N |
| dateStarted | When the course was assigned to the company | String (ISO 8601) | N |
| dueDate | When the course is due, 30 days after dateStarted | String (ISO 8601) | N |
| percentageComplete | Percentage (0 to 100) of active enrolled users who have passed the course | Number | N |
| courseId | The unique ID of the course | String | N |
| id | The ID of this course's record for the company | String | N |
Archived courses are not returned.
Response Reference[ { "name": "Security Awareness Training", "dateStarted": "2026-01-15T00:00:00.000Z", "dueDate": "2026-02-14T00:00:00.000Z", "percentageComplete": 75, "courseId": "abc123courseId", "id": "abc123courseId" }]
Error Reference
| Code | Message | Explanation |
|---|---|---|
| 400 | Invalid partner/company relationship or auth mismatch | The company does not belong to the partner in the request, or the token does not match the partner. |
| 401 | Please provide a valid jwt. | The access token is missing or invalid. |
| 500 | Failed to get training data for company. Please try again or contact Phin Support for assistance. | Something went wrong when getting the training data. |