---
title: "Thank Letter"
method: POST
path: "/letters/{letter_id}/thanks"
tags: ["letters"]
---

# Thank Letter

`POST /letters/{letter_id}/thanks`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/letters/{letter_id}/thanks`
- Auth: none declared

Record the reader's thanks. Idempotent on (reader, letter): a second call
returns the first reaction. The author hears in the worker's daily push, as a
count - never who said it.

## Path parameters

- `letter_id` string, required

## Request body

- ThanksRequest
  - `reaction` 'thank_you' | 'helped' | 'me_too', required

## Response `200`

Successful Response

- ThanksResponse
  - `thanked_with` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
