---
title: "Get Lms Content By Id"
method: GET
path: "/api/lms/v1/contents/{id}"
tags: ["Contents"]
---

# Get Lms Content By Id

`GET /api/lms/v1/contents/{id}`

Returns an LMS Content object with the given id.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `include_raw_data` boolean — Whether to include the original data Bindbee fetched from the third-party to produce these models.
- `include_custom_fields` boolean — Whether to include custom fields in the response.
- `expand` string — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. You can also specify required fields in [] for each relation name.

## Headers

- `x-connector-token` string, required

## Response `200`

Successful Response

- LmsContent
  - `id` string, uuid, required
  - `remote_id` string, nullable, required — The third-party API ID of the matching object.
  - `modified_at` string, required — This is the datetime that this object was last updated by Bindbee
  - `raw_data` object, nullable — This is the Raw data
  - `custom_fields` object, nullable, required — The custom fields related to the model
  - `title` string, nullable — The title of the content
  - `description` string, nullable — The description of the content
  - `languages` string[], nullable — The languages of the content as locale codes (e.g. en_US, fr_FR, de_DE).
  - `cover_image` string, nullable — The URL of the cover image of the content
  - `url` string, nullable — The URL of the content
  - `duration` string, nullable — The duration of the content in ISO 8601 format
  - `categories` unknown[], nullable — The categories of the content
    - unknown
  - `skills` unknown[], nullable — The skills of the content
    - unknown
  - `courses` unknown[], nullable — The courses that the content belongs to
    - unknown
  - `order` integer, nullable — Order of the content inside a course
  - `provider` string, nullable — The provider of the content
  - `status` 'ACTIVE' | 'PENDING' | 'INACTIVE', nullable — The status of the content. If the value is not one of the defined enum values, the original value passed through will be returned.

## Other responses

- `401` — Missing or invalid bearer authentication credentials.
- `403` — The credentials are valid but do not permit access to this resource, e.g. a connector token used on a different API category or a model whose writes are disabled.
- `404` — The requested resource was not found.
- `422` — Validation Error
- `429` — Rate limit exceeded.

---

[API](https://skmtc.net/bindbee/apis/bindbee-apis.md) · [All operations](https://skmtc.net/bindbee/apis/bindbee-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bindbee/bindbee-apis/revisions/7da10dc93a21/schema)
