---
title: "POST /api/attachment/{id}/attach/"
method: POST
path: "/api/attachment/{id}/attach/"
tags: ["attachment"]
---

# POST /api/attachment/{id}/attach/

`POST /api/attachment/{id}/attach/`

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Company` string

## Request body

- Attachment
  - `id` string, uuid, required
  - `employee` string, uuid
  - `name` string
  - `file` string, uri, required
  - `contents` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `thumbnail` string, uri, nullable, required
  - `width` integer, nullable
  - `height` integer, nullable

## Response `200`

- Attachment
  - `id` string, uuid, required
  - `employee` string, uuid
  - `name` string
  - `file` string, uri, required
  - `contents` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `thumbnail` string, uri, nullable, required
  - `width` integer, nullable
  - `height` integer, 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/328c565b8102/schema)
