---
title: "Adds a new attachment to the specified item.
Supports direct file uploads only; external source attachments are not supported."
method: POST
path: "/api/v1/attachments"
tags: ["Attachments"]
---

# Adds a new attachment to the specified item.
Supports direct file uploads only; external source attachments are not supported.

`POST /api/v1/attachments`

## Request body

- object
  - `ItemId` string, uuid — The unique identifier of the item.
  - `Name` string — The name of the attachment.
  - `Content` string, binary — The file content of the attachment.
  - `RequestId` string, uuid — Idempotency key

## Response `200`

OK

- ExternalAPIContractsResponsesV1EntitiesAttachment
  - `id` string, uuid, required — The unique identifier of the attachment.
  - `itemId` string, uuid, required — The unique identifier of the item.
  - `name` string, nullable, required — The name of the attachment.
  - `mimeType` string, nullable, required — The MIME type of the attachment.
  - `size` integer, required — The size of the attachment in bytes.
  - `external` ExternalAPIContractsResponsesV1EntitiesExternalAttachment, required
    - `source` 'SharePoint', required
    - `url` string, nullable, required

## Other responses

- `400` — The request is invalid. Ensure all required fields are included and valid.
- `500` — An internal server error occurred while processing the request.

---

[API](https://skmtc.net/teamhood/apis/teamhood-api-v1.md) · [All operations](https://skmtc.net/teamhood/apis/teamhood-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teamhood/teamhood-api-v1/versions/24461ce69142/schema)
