RevorRevor

Find and like a relevant LinkedIn post

POST/api/v2/outreach/linkedin/post-likes

Scans a target LinkedIn user's recent posts, selects one relevant to the supplied topic or context, and likes it automatically. The caller does not provide a post URL. If no post qualifies, the job still succeeds and returns result.status=skipped.

Headers

Send Authorization and Content-Type: application/json. Idempotency-Key is optional; for safe retries, send one and reuse the same value.

Request body

FieldRequiredDescription
profile_urlYesTarget LinkedIn profile URL.
contentYesTopic used to judge relevance, not text to publish or send. For example: AI sales automation and outbound workflow.
account_idConditionallyConnect account used for the like. Required when multiple usable LinkedIn accounts exist.
post_limitNoNumber of candidate posts; default 20, range 1-50.
localeNoen or zh; default en.
min_channel_task_interval_secondsNoMinimum LinkedIn job interval, range 60-86400 seconds.

Example request

cURL
curl -X POST "https://revor.ai/api/v2/outreach/linkedin/post-likes" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "connect_account_xxx",
    "profile_url": "https://www.linkedin.com/in/example/",
    "content": "AI sales automation and outbound workflow",
    "post_limit": 20,
    "locale": "en"
  }'

Response and result

The creation endpoint returns HTTP 202, with item.action set to outreach.linkedin.post_like and item.channel set to linkedin. Save item.id, then call:

Http
GET /api/v2/jobs/{id}

When a post is liked:

JSON
{
  "status": "liked",
  "liked_post": {
    "url": "https://www.linkedin.com/posts/example_activity-123"
  },
  "reason": "The post matches the requested topic."
}

When no relevant post is found, item.result.status=skipped and reason explains why.

Common errors

HTTPCodeDescription
400profile_url_required / content_requiredThe target or relevance context is missing.
400invalid_profile_urlprofile_url is not a LinkedIn profile URL.
400post_limit_invalid / locale_invalidA parameter is outside its valid range.
403permission_deniedThe key cannot create LinkedIn engagement.
413request_payload_too_largeThe request body exceeds 32 KB.
503task_unavailableThe job cannot be created temporarily.