---
title: "/chat/attachment/upload"
method: POST
path: "/chat/attachment/upload"
tags: ["Chat"]
---

# /chat/attachment/upload

`POST /chat/attachment/upload`

## Request

- Base URL: `<<api-url>>` (relative, and the document’s source URL is not known)
- URL: `<<api-url>>/chat/attachment/upload`
- Auth: API key in header `X-API-KEY`

Upload an attachment file and get a signed URL

## Headers

- `octa-agent-email` string

## Response `201`

- UploadAttachmentResponse
  - `url` string, required: The signed URL to access the uploaded file

---

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