---
title: "POST /api/channels/{channel_id}/attachments/"
method: POST
path: "/api/channels/{channel_id}/attachments/"
tags: ["api"]
---

# POST /api/channels/{channel_id}/attachments/

`POST /api/channels/{channel_id}/attachments/`

## Path parameters

- `channel_id` string, required

## Request body

- UploadAttachmentRequestSchema
  - `files` UploadAttachmentRequest[], required
    - `id` string
    - `filename` string, required
    - `file_size` integer, required
    - `is_clip` boolean
    - `original_content_type` string

## Response `200`

- UploadAttachmentResponseSchema
  - `attachments` UploadAttachmentResponse[], required
    - `id` string
    - `upload_url` string, required
    - `upload_filename` string, required
    - `original_content_type` string

## Other responses

- `400`
- `404` — No description available

---

[API](https://skmtc.net/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.net/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/versions/034b4e879932/schema)
