---
title: "Get List of Courses"
method: GET
path: "/v1/courses"
tags: ["Training"]
deprecated: true
---

# Get List of Courses

`GET /v1/courses`

## Request

- Base URL: `https://customer.my.onetrust.com/api/awareness-training`
- URL: `https://customer.my.onetrust.com/api/awareness-training/v1/courses`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{$$.env.host}/api/access/v1/oauth/token`

> **Deprecated.**

> ❗️ End of Support Notification
> 
> As of December 5, 2025, this API is now deprecated. For more information, see [OneTrust API Sunsetting & Deprecation Guidelines](https://developer.onetrust.com/onetrust/reference/onetrust-api-sunsetting-deprecation-guidelines).


Use this API to retrieve a list of all courses with basic course details.

> 🗒 Things to Know
>
> - The `searchText` query parameter can be used to search for courses by title based on keywords. For example, `searchText=privacy` or `searchText=data%20protection`.

## Query parameters

- `searchText` string
- `page` integer, required
- `size` integer, required

## Response `200`

OK

- CourseDetails
  - `data` CourseObject[]
    - `id` string, uuid: Valid unique id assigned to each course.
    - `name` string: Valid unique name assigned to each course.
    - `nameKey` string: Valid unique nameKey assigned to each course name.
    - `description` string: Short summary of the course.
    - `descriptionKey` string: Valid unique nameKey assigned to the course description.
    - `courseSupportedLanguages` CourseSupportedLanguageObject[]: Basic details of the languages supported by the course.
      - `id` string, uuid: Valid unique id assigned to each language.
      - `name` string: Valid unique name assigned to each language.
      - `nameKey` string: Valid unique nameKey assigned to each language.
      - `courseVersion` integer: Valid course version available for the language.
      - `version` integer: Number of times the sql db gets updated.
    - `courseLanguageUpdates` CourseLanguageUpdatesInfo
      - `languageIds` integer: Valid unique id assigned to each language.
      - `languageKeys` integer: Valid unique nameKey assigned to each language.
    - `thumbnailPath` string: Path of the course thumbnail.
    - `courseActive` boolean: The flag to get the status of the course. The value will be false if no users are enrolled to the course.
  - `errors` object[]
  - `meta` OneTrustMetadata
    - `page` OneTrustPage
      - `first` boolean: Flag to check if the result page is the first page.
      - `last` boolean: Flag to check if the result page is the last page.
      - `number` integer: Number assigned to the page.
      - `size` integer: Number of records in each page.
      - `sort` OneTrustSort[]
        - `direction` 'ASC' | 'DESC'
        - `property` string
      - `totalElements` integer: Total number of elements in a page.
      - `totalPages` integer: Total number of pages in the result.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).

---

[API](https://skmtc.dev/onetrust/apis/tech-risk-compliance-training.md) - [All operations](https://skmtc.dev/onetrust/apis/tech-risk-compliance-training/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/tech-risk-compliance-training/revisions/7d5b792255bd?raw)
