Request Body
The unique identifier of the post to like. This is the
id field from the Posts API response.Email address of the user who will like the post.
- For user actor type: The user’s email
- For company actor type: The admin user’s email who manages the company page
Who is performing the like action. Options:
user- Like as an individual usercompany- Like on behalf of a company page
Required when
actor_type is companyThe exact company name/title as it appears on LinkedIn. This is used to identify which company page should like the post.Response Fields
Whether the like task was created successfully
Human-readable message about the operation
Unique identifier for the created task. Use this to track the task status.
How It Works
1
Task Creation
When you call the Like API, a task is created and queued for processing
2
Validation
The system validates:
- Post exists and belongs to your team’s watchlists
- User email is valid and associated with your team
- Company title matches (if liking as company)
- You haven’t exceeded plan limits
3
Asynchronous Processing
The like is processed asynchronously by OutX’s automation system
4
Execution
The like is performed on LinkedIn on behalf of the specified user or company
Actor Types Explained
User Actor Type
Whenactor_type is user:
- The like appears as coming from the individual user
user_emailshould be the email of the user who will like the post- The user must be part of your OutX team
- No
company_titleis needed
Company Actor Type
Whenactor_type is company:
- The like appears as coming from your company page
user_emailshould be the admin user’s email who manages the company pagecompany_titlemust exactly match the company name on LinkedIn- The admin user must have permission to manage the company page
Error Responses
| Status Code | Error Message | Description |
|---|---|---|
| 400 | Missing required parameter: post_id | post_id is required |
| 400 | Missing required parameter: user_email | user_email is required |
| 400 | Invalid actor_type | Must be ‘user’ or ‘company’ |
| 400 | company_title is required when actor_type is ‘company’ | Missing company title |
| 400 | Post does not support like functionality | Post is missing required data |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Access denied | Post doesn’t belong to your team’s watchlists |
| 404 | Post not found | Invalid post ID |
| 404 | User not found | Invalid user email |
| 404 | Company not found | Company title doesn’t match any company for the admin user |
| 429 | Plan limit reached | You’ve exceeded your plan’s like limit |

