Like a comment on a deal
/deals/{deal_id}/comments/{comment_id}/likeRecords the token's acting user's like on the comment and returns the comment with its live like_count. It takes no body: any body field returns 422 prohibited, and a user_id returns 422 missing. Liking again returns 200 and changes nothing. dry_run shows the result without saving. Emits deal_comment.liked only when the like is new; sends no email. DELETE undoes it.
Path parameters
The deal's id, a uuid. An unknown deal, or one the token can't see, returns 404.
The comment's id.
Query parameters
Validate and run the call without committing it, returning what the real call would return with
meta.dry_runset.
Responses
{
"data": {
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"deal_id": "5f0c7a52-3d8e-4b1a-9c47-8e2d6a1b3f90",
"user_id": "0f1e2d3c-4b5a-4968-8776-655443322110",
"parent_comment_id": null,
"comment": "Is the fund open to follow-on commitments?",
"comment_is_public": true,
"like_count": 3,
"reply_count": 1,
"liked": true,
"created_at": "2026-11-08T16:42:00Z",
"updated_at": "2026-11-08T16:42:00Z"
}
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl -X PUT https://your-org-domain/kong/core/api/v2/deals/{deal_id}/comments/{comment_id}/like\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"