---
title: "Get files uploaded by a user for Chat"
method: POST
path: "/rest/api/v1/getchatfiles"
tags: ["Chat"]
---

# Get files uploaded by a user for Chat

`POST /rest/api/v1/getchatfiles`

Get files uploaded by a user for Chat.

## Query parameters

- `locale` string
- `timezoneOffset` integer

## Request body

- GetChatFilesRequest
  - `fileIds` string[], required — IDs of files to fetch.

## Response `200`

OK

- GetChatFilesResponse
  - `files` object — A map of file IDs to ChatFile structs.

## Other responses

- `400` — Invalid request
- `401` — Not Authorized
- `403` — Forbidden
- `429` — Too Many Requests

## Changes

- **2026-06-03** `2cb0cc06631f` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-03** `d2c4124e0abe` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-05-27** `35c36b2b6d97` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-05-27** `2ed9c7b7b8d9` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-05-21** `7e5f596e884d` — 1 info
  - the endpoint scheme security `APIToken` was added to the API

[Full history](https://skmtc.dev/gleanwork/apis/glean-api/changes/rest/api/v1/getchatfiles/post.md)

---

[API](https://skmtc.dev/gleanwork/apis/glean-api.md) · [All operations](https://skmtc.dev/gleanwork/apis/glean-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleanwork/glean-api/revisions/2cb0cc06631f/schema)
