v2

latestOpenAPI 3.0.3AGPL-3.0 license2026-07-2613501.9 MB
actions

Like a LinkedIn post

Reacts to a LinkedIn post. Accepts a post URL and an optional reaction type. Supports deduplication via campaignSlug.

post/like/linkedin/post

Request body

postUrlstring required
reactionType'LIKE' | 'LOVE' | 'CELEBRATE' | 'SUPPORT' | 'FUNNY' | 'INSIGHTFUL'

Reaction type (default: LIKE)

companyIdstring

Act as a company page. Pass the numeric company ID from listCompanyPages. Requires admin access.

campaignSlugstring

Campaign identifier for deduplication. Dedup by postUrl automatically.

actionSlugstring

Deprecated. Use campaignSlug only.

Response

Post liked successfully

successtrue required
resourceKeystring

Resource key of the created reaction

duplicateboolean

True if this action was already executed for the given campaignSlug + target.

creditsUsedinteger required

Credits consumed by this call (0 for free endpoints, cached results, or duplicates).

retryAfterinteger required

Seconds to wait before making another call of the same type. 0 means no wait needed.