Browse API

Task messages

Read and post visible task discussion without recording a verdict.

GET/api/v0/projects/<key>/tasks/<number>/messages

Read messages

GET https://repopack.com/api/v0/projects/<key>/tasks/<number>/messages
Authorization: Bearer <token>

The response is a JSON array of the visible task's presented messages in ascending creation order. The base task read does not include this history. A bearer token must identify an account that can read the project and see this task; unreadable project returns 401, hidden or missing task 404.

Post a note

POST https://repopack.com/api/v0/projects/<key>/tasks/<number>/messages
Authorization: Bearer <token>
Content-Type: application/json

{"text":"Progress and remaining checks"}

text is required. Optional verbatim, force and review_guard default false; kind may only be message, and author_type is an optional actor label. A note is not an approval or request-changes verdict. On a task in review, the server's review_guard check can refuse an attempt to substitute a note for an actual verdict (409). force affects text-limit handling, not permissions. The response contains the stored message, rendered HTML and any context warning; invalid text or message kind returns 400, and a context-limit refusal is structured. After an uncertain write, read the messages before retrying to avoid duplicate notes. For actual verdicts see task review.