---
title: "POST /api/v1/projects/{project_id}/issues/{ref}/attachments"
method: POST
path: "/api/v1/projects/{project_id}/issues/{ref}/attachments"
---

# POST /api/v1/projects/{project_id}/issues/{ref}/attachments

`POST /api/v1/projects/{project_id}/issues/{ref}/attachments`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `project_id` integer, required
- `ref` string, required

## Query parameters

- `name` string, required
- `actor` string

## Request body `application/octet-stream`

- string, binary

## Response `200`

OK

- AddAttachmentResponseBody
  - `attachment` Attachment, required
    - `docbank_version` string, uuid, required
    - `media_type` string, required
    - `name` string, required
    - `size` integer, required
  - `attachment_id` string, required

## Other responses

- `default`: Error

## Changes

- **2026-10-27** `bda942497f4a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/kata/changes/api/v1/projects/:project_id/issues/:ref/attachments/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/kata.md) - [All operations](https://skmtc.dev/kenn-io/apis/kata/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/kata/revisions/f820af9285a9?raw)
