---
title: "Create user comment"
method: POST
path: "/v1/user-comments"
tags: ["v1 - User Comments"]
---

# Create user comment

`POST /v1/user-comments`

## Request

- Base URL: `https://light.inc` (the document declares no server; this is the origin it was published from)
- URL: `https://light.inc/v1/user-comments`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Creates a new user comment

## Request body

- ExternalCreateUserCommentRequestV1Model
  - `resourceId` string, uuid: ID of the resource this comment is attached to (e.g. vendor, customer, etc.).
  - `content` string: Comment content.

## Response `default`

default response

- ExternalUserCommentV1Model
  - `id` string, uuid: ID of the comment.
  - `companyId` string, uuid: ID of the company this comment belongs to.
  - `resourceId` string, uuid: ID of the resource this comment is attached to (e.g. vendor, customer, etc.).
  - `content` string: Comment content.
  - `createdBy` string, uuid: ID of the user who created the comment.
  - `createdAt` string, date-time: Timestamp when the comment was created.
  - `updatedAt` string, date-time: Timestamp when the comment was last updated.

---

[API](https://skmtc.dev/light/apis/light-api.md) - [All operations](https://skmtc.dev/light/apis/light-api/llms.txt) - [OpenAPI document](https://skmtc.dev/light/apis/light-api/revisions/84f51306f648?raw)
