---
title: "Get Training Content [Single]"
method: GET
path: "/apiHub/learningManagementSystem/v1/companies/{companyId}/contents/{contentId}"
tags: ["Training Content"]
---

# Get Training Content \[Single\]

`GET /apiHub/learningManagementSystem/v1/companies/{companyId}/contents/{contentId}`

## Request

- Base URL: `dc1demogwext.paylocity.com` (relative, and the document’s source URL is not known)
- URL: `dc1demogwext.paylocity.com/apiHub/learningManagementSystem/v1/companies/{companyId}/contents/{contentId}`
- Auth: none declared

> 🚧 Partner Restricted
> All LMS API endpoints are restricted to LMS providers that have signed a Paylocity technology partnership agreement.
> [Please reach out to our team](https://www.paylocity.com/contact/partner-form/) if you would like to discuss partnership opportunities.

**Summary Description**

The GET Training Content [Single] endpoint allows partners to retrieve details about specific content in a client media content library by content ID. By sending a GET request, users can access content metadata such as the content ID, title, description, URL, file ID, duration, and optional thumbnail URL. This API provides a way for partners to manage and review individual content items within their LMS integration.

**Use Cases**

- An integration retrieves a single content record to confirm that metadata values match the partner’s source system before updates or version changes.
- A reporting or analytics tool retrieves data to analyze the statistics on the total number of employees assigned to the training.
- A reporting or analytics tool retrieves data to analyze the statistics on the total number of employees who completed the training.
- A content provider retrieves a single item to determine whether it should be updated, replaced, or deprecated based on its current metadata.

## Path parameters

- `companyId` string, required
- `contentId` string, required

## Query parameters

- `include` string

## Headers

- `testMode` boolean

## Response `200`

OK - Returns the requested training content details (test mode only).

- GetMediaContentResponseDto: Response DTO for retrieving a single media content item along with its usage statistics and content status.
  - `model` MediaContentViewModelDto: Represents a single media content item in a client's LMS library.
    - `contentId` string, nullable: Unique identifier for the media content.
    - `title` string, nullable: Title of the media content.
    - `description` string, nullable: Description of the media content.
    - `url` string, nullable: URL link to access the media content.
    - `fileId` string, nullable: Identifier for the file associated with the media content.
    - `duration` integer: Duration of the media content, typically in seconds.
    - `featurePackKey` string, nullable: Optional: Identifies content as part of a specific feature pack
  - `usage` MediaContentUsageDto: Represents usage details for a media content item.
    - `companyId` string, nullable: The Paylocity Company Identifier. Unique value provided by Paylocity. **Allowable Values:** 9 char max.
    - `companyName` string, nullable: Name of the company.
    - `statistics` ExternalContentStatisticItemModel[], nullable: List of statistics related to the media content.
      - `trainingName` string, nullable: Name of the training associated with the content.
      - `dueDates` string[], nullable: Due dates for trainings this content is a part of.
      - `totalAssigned` integer: Total number of employees assigned to the content.
      - `totalCompleted` integer: Total number of employees who completed the content.
  - `contentStatus` ContentStatusDto[], nullable: List of content status related to the media content.
    - `companyId` string, nullable: The Paylocity Company Identifier. Unique value provided by Paylocity. **Allowable Values:** 9 char max.
    - `contentState` string, nullable: State of uploaded content. Possible statuses are 'success', 'pending upload', 'upload failed', and 'upload failed, invalid content length'.

## Other responses

- `400`: Bad Request - Returns the details of the error.

---

[API](https://skmtc.dev/paylocity/apis/learning-management-api.md) - [All operations](https://skmtc.dev/paylocity/apis/learning-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/learning-management-api/revisions/d7411725ee2c?raw)
