---
title: "Batch Create Attachments"
method: POST
path: "/companies/{id_or_urn}/attachments"
tags: ["companies", "attachments"]
---

# Batch Create Attachments

`POST /companies/{id_or_urn}/attachments`

## Request

- Base URL: `https://api.harmonic.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.harmonic.ai/companies/{id_or_urn}/attachments`
- Auth: none declared
- TypeScript: <https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/docs/companies/:id_or_urn/attachments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id_or_urn` union, required
  - integer
  - string, uuid
  - string

## Request body

- BatchCreateAttachmentsRequest
  - `attachments` CreateAttachmentRequest[], required
    - `name` string, required
    - `extension` string, required
    - `size` integer, required

## Response `200`

Successful Response

- BatchCreateAttachmentsOutput
  - `attachments` CreateAttachmentOutput[], required
    - `name` string, required
    - `extension` string, required
    - `size` integer, required
    - `attachment_urn` string, required
    - `upload_uri` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `uploaded_by` union, required
      - string
      - string

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-26** `fcf35c98e097`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/changes/companies/:id_or_urn/attachments/post.md)

---

[API](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api.md) - [All operations](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/revisions/a00e2a4c4c9e?raw)
