---
title: "Store text content as a file without creating a message"
method: POST
path: "/api/v1/files/store-text"
tags: ["Files"]
---

# Store text content as a file without creating a message

`POST /api/v1/files/store-text`

## Response `201`

Stored text attachment (orphan)

- AttachmentResponse
  - `id` string, required
  - `messageId` string, required
  - `pluginType` string, required
  - `filename` string, required
  - `mimeType` string, required
  - `size` number, required
  - `storageKey` string, required
  - `createdAt` string, required

## Other responses

- `401` — Invalid API key

## Changes

- **2026-04-06** `3fb7657511b8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/placet-io/apis/placet-api/changes/api/v1/files/store-text/post.md)

---

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