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
Example request
cURLcurl -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:
HttpGET /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.