Skip to main content
POST
/
comments
Create a new comment by a user
curl --request POST \
  --url https://api.example.com/comments \
  --header 'Content-Type: application/json' \
  --data '
{
  "review_id": "<string>",
  "author_id": 123,
  "content": "<string>"
}
'
"<string>"

Body

application/json

Content of the Comment.

review_id
string
required

Unique Identifier of a review

author_id
integer
required

Unique Identifier of a user

content
string
required

Response

Successful Response

Unique Identifier of a comment