---
title: "Get the user's \"My Library\" collection."
method: GET
path: "/users/{user_id}/library"
tags: ["User"]
---

# Get the user's "My Library" collection.

`GET /users/{user_id}/library`

Returns the user's personal collection (type: user). This is the default collection where users store their personal media.

## Path parameters

- `user_id` integer, required

## Response `200`

The user's My Library collection.

- object
  - `collection` Collection
    - `id` integer
    - `name` string
    - `type` string
    - `permission` string
    - `owner` User
      - `id` integer
      - `full_name` string
      - `display_name` string
      - `email` string
    - `created_at` string, date-time
    - `course_id` integer
    - `archived_at` string, date-time

## Other responses

- `401` — Authorization information is missing or invalid.
- `403` — If a user without proper permissions tries to call this endpoint, the call is rejected with 403 Forbidden.
- `404` — The user was not found.
- `422` — Invalid parameters.

---

[API](https://skmtc.net/instructure/apis/studio-public-api.md) · [All operations](https://skmtc.net/instructure/apis/studio-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instructure/studio-public-api/revisions/4838a5113869/schema)
