v2

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

Comment on a LinkedIn post

Adds a top-level comment on a LinkedIn post. Supports deduplication via campaignSlug.

post/comment/linkedin/post

Request body

postUrlstring required
messagestring required

Comment text

companyIdstring

If provided, comment will be posted as this company page (organization ID). User must be admin of the page.

campaignSlugstring

Campaign identifier for deduplication. Dedup by postUrl automatically.

actionSlugstring

Deprecated. Use campaignSlug only.

Response

Comment posted successfully

successtrue required
commentUrnstring

URN of the created comment (e.g., 'urn:li:comment:(activity:PARENT_ID,COMMENT_ID)')

fsdCommentUrnstring

FSD-format comment URN for use with the edit comment endpoint.

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.