POST
/
v1
/
posts
/
like
curl --request POST \
  --url https://api.linkupapi.com/v1/posts/like \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "post_url": "<string>",
  "country": "<string>",
  "login_token": "<string>"
}'
{
  "status": "success",
  "message": "Post liked successfully"
}

Add a like reaction to any LinkedIn post using the post URL.

This endpoint costs 1 credit per request.

Header Parameters

x-api-key
string
required

Your API key

Body Parameters

post_url
string
required

URL of the LinkedIn post to like (supports multiple formats)

country
string
default:"FR"

Country code for proxy selection. Available: (US,UK,FR)

login_token
string
required

LinkedIn authentication cookie obtained from the login/verify process

Response

status
string

Request status (success/error)

message
string

Detailed status message about the like request

{
  "status": "success",
  "message": "Post liked successfully"
}

Notes

  • Supports multiple post URL formats:
    • Feed updates: https://www.linkedin.com/feed/update/urn:li:activity:...
    • Profile posts: https://www.linkedin.com/posts/user-activity-...
    • Group posts: https://www.linkedin.com/feed/update/urn:li:groupPost:...
  • The post must be accessible with the provided login token
  • A post can only be liked once by the same user
  • LinkedIn’s rate limits apply to like operations
  • The like action is performed with the identity associated with the login token
  • Some posts may have reactions disabled by their authors
  • Posts from private groups or connections may not be accessible
  • The API automatically detects the post type (share, article, etc.)