---
title: "Hand in files"
method: POST
path: "/v1/thread/files"
tags: ["Thread"]
---

# Hand in files

`POST /v1/thread/files`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/thread/files`
- Auth: HTTP bearer

Hands your thread up to five files (multipart field `file`, at most 25 MB each) with an optional `text`. Each file is kept as your own document, visible to nobody else; together they are answered like one message.

## Headers

- `Idempotency-Key` string

## Request body `multipart/form-data`

- object
  - `file` string[], required
  - `text` string
  - `tz` string

## Response `201`

The stored message.

- object
  - `event` ThreadEvent, nullable: One row of your thread.
    - `id` string, uuid
    - `seq` integer: Position in the thread; use it as the cursor.
    - `cycleId` string, uuid, nullable: The exchange this row belongs to.
    - `channel` 'web' | 'slack' | 'system' | 'api': Where the row entered or left the thread.
    - `actor` 'user' | 'agent' | 'system'
    - `kind` 'message' | 'reaction' | 'status' | 'approval' | 'trigger' | 'page' | 'sheet' | 'step'
    - `body` string
    - `meta` object: For an `approval` card, `approvalId` and, for a draft, `draftId`, `draftVersion`, `payloadHash`, `draftKind`. For a `step` (a page of Talonic opened for something only you can do there), `path` and `title`.
    - `replyTo` string, uuid, nullable
    - `createdAt` string, date-time
  - `replayed` boolean

## Other responses

- `400`: The request is well-formed but violates the declared task contract.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-30** `645793cfcd27`: 1 warning
  - added the new `step` enum value to the `event/allOf[#/components/schemas/ThreadEvent]/kind` response property for the response status `201`
- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/thread/files/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
