---
title: "Add a comment to ticket"
method: POST
path: "/v1/portal/tickets/{ticketId}/comments"
tags: ["portal-tickets"]
---

# Add a comment to ticket

`POST /v1/portal/tickets/{ticketId}/comments`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/portal/tickets/{ticketId}/comments`
- Auth: `portal-token` (a scheme the document does not define)

## Path parameters

- `ticketId` string, required

## Headers

- `Authorization` string, required
- `x-idempotency-key` string, required
- `X-Idempotency-Key` string

## Request body

- PortalCreateCommentDto

## Response `201`

Comment added

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/529e6717d295?raw)
