Facebook Pixel
APILinkedIn Posts

React to a LinkedIn post

Add a reaction to a LinkedIn post. LinkedIn supports 6 reaction types beyond simple likes. Reactions are a lightweight way to engage with content and increase visibility in your network. Supports reacting as a company page if you have admin access.

POST/posts/react

React to a LinkedIn post

Add a reaction to a LinkedIn post. LinkedIn supports 6 reaction types beyond simple likes. Reactions are a lightweight way to engage with content and increase visibility in your network. Supports reacting as a company page if you have admin access.

Authentication requiredPosts

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/posts/react' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"postUrl":"https://linkedin.com/posts/example-post"}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
postUrlstringYesFull URL of the LinkedIn post to react to. Can also provide threadUrn directly instead.
threadUrnstringNoThread URN of the post. If provided, skips URL scraping for faster execution.
reactionTypestringNoReaction type: LIKE (thumbs up), PRAISE (clap), APPRECIATION (heart), EMPATHY (caring), INTEREST (insightful), ENTERTAINMENT (funny)
companyUrnstringNoCompany URN to react as company page instead of personal profile (e.g., "urn:li:fsd_company:123456"). Requires admin access to the company page.

Example

{
  "postUrl": "https://linkedin.com/posts/example-post"
}

Responses

StatusDescription
200Reaction added successfully