---
title: "POST /tasks/{taskId}/attachments"
method: POST
path: "/tasks/{taskId}/attachments"
tags: ["slash-attachments"]
---

# POST /tasks/{taskId}/attachments

`POST /tasks/{taskId}/attachments`

## Path parameters

- `taskId` integer, required

## Query parameters

- `fileUploadDto` FileUploadDto, required
  - `files` string[], required

## Response `200`

OK

- ResponseFormat
  - `success` boolean
  - `message` string
  - `data` unknown
  - `errorCode` integer
  - `errors` unknown

## Changes

- **2026-08-08** `237f5bbd4029` — 2 breaking
  - the `data` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `errors` response's property type/format changed from `object`/`` to ``/`` for status `200`

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/tasks/:taskId/attachments/post.md)

---

[API](https://skmtc.dev/astravue/apis/astravue-api.md) · [All operations](https://skmtc.dev/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astravue/astravue-api/revisions/290e97dda2ec/schema)
