RevorRevor

Like a Relevant LinkedIn Post

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

Selects one relevant recent post from a target LinkedIn profile based on the supplied content topic and likes it. A successful request returns HTTP 202 Accepted and a task ID.

Headers

HeaderRequiredDescription
AuthorizationYesBearer sk-revor-....
Content-TypeYesapplication/json.
Idempotency-KeyRecommendedIdempotency key. Use it when retrying the same like task.

Request Body

FieldTypeRequiredDescription
profile_urlstringYesTarget LinkedIn profile URL.
contentstringYesTopic or context used to determine post relevance.
account_idstringConditionally requiredLinkedIn Connect account ID used for the action. Required when multiple LinkedIn accounts are available.
post_limitnumberNoNumber of candidate posts. Defaults to 20, maximum 50.
localestringNoLanguage for relevance evaluation. Supported values: en, zh. Defaults to en.
min_channel_task_interval_secondsnumberNoMinimum interval, in seconds, for LinkedIn tasks under the same Revor account. Defaults to 60, minimum 60, maximum 86400. Values below 60 are treated as 60.

Task Interval

min_channel_task_interval_seconds controls the minimum interval between LinkedIn tasks under the same Revor account. When creating like or outreach tasks in batches, integrations should generate a random interval for each task; a common recommended range is 180 to 360 seconds.

Request

cURL
curl -X POST "https://revor.ai/api/v1/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/test-user/",
    "content": "AI sales automation and outbound workflow",
    "post_limit": 20,
    "locale": "en"
  }'

Response

JSON
{
  "ok": true,
  "request_id": "req_xxx",
  "item": {
    "id": "job_uuid",
    "status": "queued",
    "action": "outreach.linkedin.post_like",
    "channel": "linkedin",
    "scheduled_at": "2026-05-20T10:00:00.000Z"
  }
}

Retrieve Result

cURL
curl -X GET "https://revor.ai/api/v1/outreach/jobs/job_uuid" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME"

Liked result:

JSON
{
  "ok": true,
  "request_id": "req_xxx",
  "item": {
    "id": "job_uuid",
    "status": "succeeded",
    "action": "outreach.linkedin.post_like",
    "channel": "linkedin",
    "result": {
      "status": "liked",
      "liked_post": {
        "post_id": "post_xxx",
        "url": "https://www.linkedin.com/feed/update/..."
      }
    },
    "error": null
  }
}

If no relevant post is found, the task still succeeds with result.status = "skipped".

JSON
{
  "ok": true,
  "request_id": "req_xxx",
  "item": {
    "id": "job_uuid",
    "status": "succeeded",
    "action": "outreach.linkedin.post_like",
    "channel": "linkedin",
    "result": {
      "status": "skipped",
      "reason": "no_relevant_post",
      "liked_post": null
    },
    "error": null
  }
}

Errors

HTTPCodeDescription
400profile_url_requiredprofile_url is required.
400content_requiredcontent is required.
400linkedin_account_not_foundNo available LinkedIn account was found.
400account_id_required_multiple_linkedin_accountsMultiple LinkedIn accounts are available; account_id is required.
401api_key_invalidThe API key is invalid.
403permission_deniedThe API key does not have access to this endpoint.
404account_not_foundThe account_id does not exist or is not accessible.
409connect_account_not_sendableThe account cannot perform this action.
409connect_account_not_receivableThe account state does not satisfy the action requirements.
409connect_account_reconnect_requiredThe account must be reconnected.
409idempotency_conflictThe idempotency key was reused with a different request body.
429api_rate_limit_exceededThe request was rate limited.
502action_failedThe LinkedIn action failed.
503task_unavailableThe task could not be created temporarily.