---
title: "Create new Attachment"
method: POST
path: "/v1/attachment/create"
tags: ["Attachments"]
---

# Create new Attachment

`POST /v1/attachment/create`

Create a new Attachment

## Request body

- Attachment
  - `id` string
  - `created_at` string, date-time — Date and Time of the attachment
  - `created_by` string — Creator of the attachment
  - `updated_at` string, date-time — Last update of the attachment
  - `updated_by` string — Updated By
  - `name` string, required — Name of the attachment
  - `description` string — Description of the attachment
  - `file_name` string, required — Original file name of the attachment

## Response `200`

Created

- Attachment
  - `id` string
  - `created_at` string, date-time — Date and Time of the attachment
  - `created_by` string — Creator of the attachment
  - `updated_at` string, date-time — Last update of the attachment
  - `updated_by` string — Updated By
  - `name` string, required — Name of the attachment
  - `description` string — Description of the attachment
  - `file_name` string, required — Original file name of the attachment

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

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