---
title: "Create a comment."
method: POST
path: "/v1/{accountId}/incidents/{incidentId}/comments"
tags: ["Create Comment for Specific Incident"]
---

# Create a comment.

`POST /v1/{accountId}/incidents/{incidentId}/comments`

## Request

- Base URL: `https://api.usa.cloud.watchguard.com/rest/threatsync/management`
- URL: `https://api.usa.cloud.watchguard.com/rest/threatsync/management/v1/{accountId}/incidents/{incidentId}/comments`
- Auth: API key in header `WatchGuard-API-Key` and HTTP bearer
- TypeScript: <https://skmtc.dev/watchguard/apis/threatsync-management-api/docs/v1/:accountId/incidents/:incidentId/comments/post.ts> (a function with typed inputs; its response is checked against the schema)

Create comment for a specific incident.

## Path parameters

- `accountId` string, required
- `incidentId` string, required

## Request body

- object
  - `comment` string, required: Comment for an incident.

## Response `201`

Successful response.

- CreateComment: Create a comment for a specific incident.
  - `id` string: ID of a comment.
  - `incidentId` string: ID of an incident.
  - `account` string: Account ID.
  - `user` string: User name.
  - `comment` string: The comment added to the specified incident.
  - `creationTime` string: The time the comment was created.

## Other responses

- `default`: Error response.

---

[API](https://skmtc.dev/watchguard/apis/threatsync-management-api.md) - [All operations](https://skmtc.dev/watchguard/apis/threatsync-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/watchguard/apis/threatsync-management-api/revisions/2993b1908d27?raw)
