---
title: "Create Task Document"
method: POST
path: "/api/v1/tasks/{task_id}/documents"
tags: ["v1", "Task Documents"]
---

# Create Task Document

`POST /api/v1/tasks/{task_id}/documents`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/tasks/{task_id}/documents`
- Auth: none declared

Create a task_documents record after file upload.

## Path parameters

- `task_id` integer, required

## Request body

- TaskDocumentCreateRequest
  - `file_id` integer, required: ID from files table after upload
  - `doc_type` string, required: Document type: qc_evidence, send_back_evidence, or inspection
  - `notes` string, nullable: Optional notes/observations
  - `pm_review_log_id` integer, nullable: Link to specific PM review action

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
