---
title: "POST /api/trade-defect-comment/"
method: POST
path: "/api/trade-defect-comment/"
tags: ["trade-defect-comment"]
---

# POST /api/trade-defect-comment/

`POST /api/trade-defect-comment/`

## Headers

- `X-Company` string

## Request body

- DefectComment
  - `id` string, uuid, required
  - `attachments` string
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `from_type` 'employee' | 'trade' — * `employee` - employee * `trade` - trade
  - `message` string
  - `defect_item` string, uuid, required
  - `from_employee` string, uuid, nullable

## Response `201`

- DefectComment
  - `id` string, uuid, required
  - `attachments` string
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `from_type` 'employee' | 'trade' — * `employee` - employee * `trade` - trade
  - `message` string
  - `defect_item` string, uuid, required
  - `from_employee` string, uuid, nullable

---

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