---
title: "Upload Chat File"
method: POST
path: "/api/upload/chat-file"
tags: ["upload"]
---

# Upload Chat File

`POST /api/upload/chat-file`

## Request

- Base URL: `https://api.fluentea.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fluentea.com/api/upload/chat-file`
- Auth: none declared

Upload a file sent in a call's chat (the main room or a breakout): a
PDF, Word, PowerPoint, Excel, text or CSV file, or a picture, up to 20 MB.

Stored in the same PRIVATE chat bucket as the pictures and answered the
same way: a 60-minute signed URL plus the gs:// ref behind it. Returns
`{success, url, ref, name, size, content_type}`; the client sends a
`file_message` with the URL, the name and the size, and logs it with
`/chatrooms/{room}/chat/log`. Anything else is a plain 400.

## Headers

- `authorization` string, nullable

## Request body `multipart/form-data`

- BodyUploadChatFileApiUploadChatFilePost
  - `file` string, binary, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

> 48 revisions in range; 1 not diffed.

- **2026-10-22** `8411afb3fc3c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/changes/api/upload/chat-file/post.md)

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) - [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) - [OpenAPI document](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/revisions/aeb0298c02e1?raw)
