Skip to main content
Automate likes on LinkedIn posts through OutX. Engage as an individual user or on behalf of a company page, making it easy to scale engagement and stay visible without manual effort.

Request Body

post_id
string
required
The unique identifier of the post to like. This is the id field from the Posts API response.
user_email
string
required
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
actor_type
string
default:"user"
Who is performing the like action. Options:
  • user - Like as an individual user
  • company - Like on behalf of a company page
company_title
string
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.
curl -X POST \
  "https://api.outx.ai/api-like" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "post_id": "123e4567-e89b-12d3-a456-426614174000",
    "user_email": "john.doe@example.com",
    "actor_type": "user"
  }'
{
  "success": true,
  "message": "Like task created successfully",
  "task_id": "456e7890-e12b-34d5-a678-912345678901"
}

Response Fields

success
boolean
Whether the like task was created successfully
message
string
Human-readable message about the operation
task_id
string
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

When actor_type is user:
  • The like appears as coming from the individual user
  • user_email should be the email of the user who will like the post
  • The user must be part of your OutX team
  • No company_title is needed
Use case: Personal engagement, building individual presence

Company Actor Type

When actor_type is company:
  • The like appears as coming from your company page
  • user_email should be the admin user’s email who manages the company page
  • company_title must exactly match the company name on LinkedIn
  • The admin user must have permission to manage the company page
Use case: Brand engagement, company visibility, B2B marketing

Error Responses

Status CodeError MessageDescription
400Missing required parameter: post_idpost_id is required
400Missing required parameter: user_emailuser_email is required
400Invalid actor_typeMust be ‘user’ or ‘company’
400company_title is required when actor_type is ‘company’Missing company title
400Post does not support like functionalityPost is missing required data
401UnauthorizedInvalid or missing API key
403Access deniedPost doesn’t belong to your team’s watchlists
404Post not foundInvalid post ID
404User not foundInvalid user email
404Company not foundCompany title doesn’t match any company for the admin user
429Plan limit reachedYou’ve exceeded your plan’s like limit