---
title: "Get a list of media the user has access to."
method: GET
path: "/users/{user_id}/media"
tags: ["User"]
---

# Get a list of media the user has access to.

`GET /users/{user_id}/media`

## Path parameters

- `user_id` integer, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

The requested media list extended with permission of the user on the media.

- object
  - `media` MediaWithPermission[]
    - `id` integer
    - `title` string
    - `description` string
    - `duration` number
    - `created_at` string, date-time
    - `last_viewed` string, date
    - `last_viewed_by_student` string, date
    - `thumbnail_url` string
    - `transcoding_status` string
    - `owner` User
      - `id` integer
      - `full_name` string
      - `display_name` string
      - `email` string
    - `size` integer
    - `source` string
    - `embed_id` string
    - `lti_launch_id` string
    - `archived_at` string, date-time
    - `permission` string
  - `meta` object
    - `current_page` integer
    - `last_page` integer
    - `total_count` integer

## 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)
