---
title: "Upload Echo Attachment"
method: POST
path: "/api/public/echo/upload"
tags: ["echo"]
---

# Upload Echo Attachment

`POST /api/public/echo/upload`

## Request

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

Upload one or more media files (image/PDF) for use in an Echo chat message.

Validates the request origin against the workspace's allowed domains, enforces
a 10MB per-file limit, and persists each file to Spaces. Returns a list of
attachment descriptors (``fileName``, ``fileUrl``, ``size``, ``mimeType``, ...)
ready to be embedded in the next ``POST /api/public/echo/message`` call as
``attachments``.

## Request body `multipart/form-data`

- BodyUploadEchoAttachmentApiPublicEchoUploadPost
  - `files` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
