// Replace API_KEY with your api key
curl --location --request POST 'https://api.supahub.com/api/v1/comments/like_comment' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer API_KEY' \
--data-urlencode 'commentId=clxip0nbm007h30g2beijccxg' \
--data-urlencode '[email protected]'
POST
method
/comments/like_comment
path

Body Parameters

commentId
string
required

ID of the comment being liked.

email
string | undefined

Email of the user liking the comment (if applicable).

userId
string | undefined

UserID of the user liking the comment (if applicable).

// Replace API_KEY with your api key
curl --location --request POST 'https://api.supahub.com/api/v1/comments/like_comment' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer API_KEY' \
--data-urlencode 'commentId=clxip0nbm007h30g2beijccxg' \
--data-urlencode '[email protected]'