Skip to main content
POST
/
post
/
{postid}
/
comment
/
{commentid}
/
like
Like a comment
curl --request POST \
  --url https://api.sleekplan.com/v1/post/{postid}/comment/{commentid}/like \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": 123
}'
{
  "status": "<string>",
  "data": {
    "action": "<string>",
    "comment_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://sleekplan.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

postid
string
required
commentid
string
required

Body

application/json
user_id
integer

End-user ID to like on behalf of a user.

Response

200 - application/json

OK

status
string
data
object