v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Community Posts

Create a post comment

Create a post comment

post/public/api/community-posts/{community_post_id}/comments

Headers

Acceptstring

e.g. application/json

Request body

user_idstring
commentstring

Example request

{
  "user_id": "6628ed6adc1960a7aa5c7ce4",
  "comment": "Good to know :)"
}

Response

OK

comment_idstring
user_idstring
datestring
commentstring
community_idstring
community_post_idstring
created_datestring
updated_datestring

Example response

{
  "comment_id": "677e3f43b855a6001ff464a7",
  "user_id": "6628ed6adc1960a7aa5c7ce4",
  "date": "2025-01-08T09:02:59.707Z",
  "comment": "Good to know :)",
  "community_id": "667ac0b15ba1350028ac0b99",
  "community_post_id": "677ba82156e14b001e8cab37",
  "created_date": "2025-01-08T09:02:59.728Z",
  "updated_date": "2025-01-08T09:02:59.728Z"
}