Skip to main content
POST
Add a comment to a Social Selling post

Authorizations

x-api-key
string
header
required

Body

application/json
identityId
integer
required

The connected LinkedIn identity that comments. It must be an identity the caller may use.

Example:

12

text
string
required

The comment text, 1–3000 characters.

Required string length: 1 - 3000
postId
integer

Tracked post id (id in list_social_selling_posts). Give exactly one of postId or publishingPostId.

Example:

501

publishingPostId
integer

Publishing post id (the publishingPostId of a tracked post, or of a scheduled post). Give exactly one of postId or publishingPostId.

Example:

29371

reactionsAmount
integer

Reactions other identities add to the comment (0–100), only when it posts right away (POSTED): a PENDING_APPROVAL comment gets none, even once approved. Default 0.

Required range: 0 <= x <= 100
reactionTypes
enum<string>[]

Reaction kinds for reactionsAmount. Defaults to the LinkedIn mix.

Minimum array length: 1
Available options:
LIKE,
PRAISE,
EMPATHY,
INTEREST,
APPRECIATION,
ENTERTAINMENT

Response

Comment posted (POSTED) or waiting for the identity owner’s approval (PENDING_APPROVAL)

status
enum<string>
required
Available options:
success
message
string
required
data
object
required