---
title: "Add a log/note to a ticket"
method: POST
path: "/api/tickets/{ticket_id}/logs"
tags: ["tickets"]
---

# Add a log/note to a ticket

`POST /api/tickets/{ticket_id}/logs`

Add a log entry to a ticket. Author = current user. Supervisor: only for supervised operator's ticket.

## Path parameters

- `ticket_id` string, uuid, required — Ticket UUID

## Request body

- CreateLogRequest — Request to add a log/note entry to a ticket.
  - `action` string, required — Action label (e.g. Nota admin, Nota supervisore)
  - `message` string, nullable — Log message

## Response `201`

Successful Response

- TicketLogEntry — Single log/note entry for a ticket.
  - `id` string, required — Log UUID
  - `action` string, required — Action label
  - `message` string, nullable — Log message
  - `created_at` string, nullable — ISO datetime
  - `author_id` string, required — User UUID who wrote the log

## Other responses

- `422` — Validation Error

---

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