Skip to main content
POST
/
inbox
/
comments
/
{postId}
/
{commentId}
/
like
Like a comment
curl --request POST \
  --url https://api.social-api.ai/v1/inbox/comments/{postId}/{commentId}/like \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "<string>"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

postId
string
required

Platform post ID

commentId
string
required

Platform comment ID to like

Body

application/json

Account to like as

account_id
string

Response

Comment liked

success
boolean
Example:

true