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

# Upload Echo Attachment

`POST /api/public/echo/upload`

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``.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/a57f684e7966/schema)
