---
title: "Creates a new field into events comments"
method: POST
path: "/event/{idEvent}/comment"
tags: ["Events"]
---

# Creates a new field into events comments

`POST /event/{idEvent}/comment`

## Path parameters

- `idEvent` integer, required

## Request body

- EventComment
  - `idEventComment` integer — id event comment
  - `idEvent` integer — id event comment
  - `utimestamp` integer, nullable — Event comment utimestamp create
  - `comment` string — content of the comment
  - `idUser` string — User id create comment
  - `action` string — content of the action

## Response `200`

Event comment object

- EventComment
  - `idEventComment` integer — id event comment
  - `idEvent` integer — id event comment
  - `utimestamp` integer, nullable — Event comment utimestamp create
  - `comment` string — content of the comment
  - `idUser` string — User id create comment
  - `action` string — content of the action

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

## Changes

- **2024-03-19** (v2) `e09afeb73c0c` — 1 breaking
  - added the new path request parameter `idEvent`
- **2024-03-13** (v2) `d42e8bf36592` — 1 warning
  - deleted the `path` request parameter `idEvent`

[Change history](https://skmtc.dev/pandorafms/apis/api-pandora-fms/changes/event/:idEvent/comment/post.md)

---

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