---
title: "Attach a private file to my business conversation"
method: POST
path: "/v1/account/conversations/{conversation_id}/attachments"
tags: ["Moderated Actions"]
---

# Attach a private file to my business conversation

`POST /v1/account/conversations/{conversation_id}/attachments`

## Request

- Base URL: `https://loppee.com`
- URL: `https://loppee.com/v1/account/conversations/{conversation_id}/attachments`
- Auth: HTTP bearer

Uploads one content-validated JPG, PNG, WebP, or PDF (10MB maximum) to the signed-in customer's own conversation. Storage is private and this contact remains trust-neutral.

## Path parameters

- `conversation_id` string, required

## Request body

- ChatAttachmentRequest
  - `file_name` string, required
  - `content_type` 'image/jpeg' | 'image/png' | 'image/webp' | 'application/pdf', required
  - `size_bytes` integer, required
  - `data_base64` string, required

## Response `200`

ChatAttachmentResponse

- ChatAttachmentResponse
  - `status` 'uploaded', required
  - `attachment` object, required
    - `id` string, required
    - `fileName` string, required
    - `mediaType` string, required
    - `byteSize` integer, required

## Other responses

- `400`: ErrorResponse
- `401`: ErrorResponse
- `403`: ErrorResponse
- `429`: RateLimitError
- `default`: ErrorResponse

---

[API](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents.md) · [All operations](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/revisions/37285f7cddcd?raw)
