Skip to main content
The Like Post endpoint creates an async task to like a LinkedIn post. You provide the post’s activity URN and the API handles the rest, performing the like action through your team’s oldest admin member’s LinkedIn account.

Endpoint

Request Body

string
required
The LinkedIn activity URN of the post to like (e.g., "urn:li:activity:7123456789012345678")
Don’t have a social URN? Use Fetch Posts to retrieve posts from a profile, each post in the response includes its activity URN. If you only have a profile slug, first use Fetch Profile to get the profile URN, then fetch their posts.
The like action is performed using your team’s oldest admin member’s LinkedIn account. Make sure this team member is aware that likes will be made from their account via the API.

Response

The endpoint returns immediately with a task ID:
boolean
Whether the task was created successfully
string
UUID to poll for results via Get Task Status
string
Human-readable confirmation

Polling for Results

Poll the Get Task Status endpoint to confirm the like was executed:

Completed Response

Code Examples

Error Responses

FAQ

The like is performed using your team’s oldest admin member’s LinkedIn account (sorted by when they joined the team). This is the team member whose Chrome extension session executes the action.
Activity URNs look like urn:li:activity:7123456789012345678. You can find them in LinkedIn post URLs (the number after /activity/), or from the output of the Fetch Posts endpoint.
OutX does not rate-limit these requests for you. OutX is a proxy, every like you trigger is executed immediately on LinkedIn through a real browser session. If you send 50 like requests in rapid succession, all 50 will attempt to execute, and LinkedIn may flag the account for unusual activity. Space out likes by at least 30–60 seconds and distribute them throughout the day. See Rate Limits for safe usage guidelines.
The API currently supports liking posts only. Unlike functionality is on our roadmap. If you need this feature, contact support@outx.ai.
The LinkedIn API’s like endpoint currently performs likes as the admin user’s personal account. For company page engagement, see the Intelligence API which supports company actor types.

Learn More