---
title: "Upload Attachments"
method: POST
path: "/api/comms/{team_key}/conversations/{chat_key}/attachments"
tags: ["comms"]
---

# Upload Attachments

`POST /api/comms/{team_key}/conversations/{chat_key}/attachments`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/comms/{team_key}/conversations/{chat_key}/attachments`
- Auth: HTTP bearer

Validate and persist image attachments for an authorized chat.

## Path parameters

- `chat_key` string, required
- `team_key` string, required

## Request body `multipart/form-data`

- BodyUploadAttachmentsApiCommsTeamKeyConversationsChatKeyAttachmentsPost
  - `files` string[], required

## Response `201`

Successful Response

- AttachmentUploaded[]
  - `attachmentKey` string, required
  - `mimeType` string, required
  - `width` integer, nullable, required
  - `height` integer, nullable, required
  - `sizeBytes` integer, required

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Chat not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Invalid attachment

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
