Endpoint
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Content-Type | string | Yes | Must be application/json |
x-api-key | string | Yes | Your OutX API key |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
social_urn | string | Yes | The LinkedIn activity URN of the post to like (e.g., "urn:li:activity:7123456789012345678") |
Response
The endpoint returns immediately with a task ID:| Field | Type | Description |
|---|---|---|
success | boolean | Whether the task was created successfully |
api_agent_task_id | string | UUID to poll for results via Get Task Status |
message | 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
| Status | Error | Description |
|---|---|---|
400 | Missing or invalid 'social_urn' | The social_urn field is missing or not a string |
401 | Missing API Key / Invalid API Key | API key is missing or invalid |
403 | Plugin installation required... | No team member has an active Chrome extension. See Authentication |
404 | No admin user found in the team | Your team has no admin members |
FAQ
Whose LinkedIn account performs the like?
Whose LinkedIn account performs the like?
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.
Where do I find the activity URN for a post?
Where do I find the activity URN for a post?
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.What about rate limits and LinkedIn safety?
What about rate limits and LinkedIn safety?
Since the action is performed through a real browser session, it appears as normal LinkedIn activity. However, you should still be mindful of volume. Avoid liking hundreds of posts in rapid succession, as LinkedIn may flag unusual patterns on any account. Space out your engagement actions naturally.
Can I unlike a post?
Can I unlike a post?
The API currently supports liking posts only. Unlike functionality is on our roadmap. If you need this feature, contact support@outx.ai.
Can I like a post as a company page?
Can I like a post as a company page?
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.
Related
- Comment on Post - Comment on posts alongside liking them
- Fetch Posts - Fetch posts to get activity URNs
- Get Task Status - Poll for task results

