---
title: "Add a note to an existing ticket"
url: "https://kongnet.kongai.uk/apis/kongnet-telco-api-1/versions/3d9e2c10-cf93-4e6e-8bf8-2129457a6aa5/operations/add_ticket_note"
---

> Full API specification: https://kongnet.kongai.uk/apis/kongnet-telco-api-1/versions/3d9e2c10-cf93-4e6e-8bf8-2129457a6aa5.md

# Add a note to an existing ticket

`POST` `/tickets/{ticket_id}/notes`

Operation ID: `add_ticket_note`

Appends an update to a ticket the customer owns. Use this instead of creating a second ticket for the same problem.

## Path parameters

- `ticket_id` (string, required)

## Request body (required)

Content types: `application/json`

## Responses

- `201` - Successful Response
- `422` - Validation Error

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: KongNet Telco API
  version: 1.0.0
paths:
  /tickets/{ticket_id}/notes:
    post:
      tags:
        - tickets
      summary: Add a note to an existing ticket
      description: Appends an update to a ticket the customer owns. Use this instead
        of creating a second ticket for the same problem.
      operationId: add_ticket_note
      parameters:
        - name: ticket_id
          in: path
          required: true
          schema:
            type: string
            title: Ticket Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/NoteCreate"
      responses:
        "201":
          description: Successful Response
          content:
            application/json:
              schema: {}
        "422":
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/HTTPValidationError"
components:
  schemas:
    NoteCreate:
      properties:
        text:
          type: string
          maxLength: 4000
          minLength: 1
          title: Text
          description: Note to add to the ticket
      type: object
      required:
        - text
      title: NoteCreate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: "#/components/schemas/ValidationError"
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
```
