LinkedIn Analytics

Add a comment to a LinkedIn post

Changed on

Post a comment on a LinkedIn post. Supports replies to existing comments via the parentComment parameter. Raw input may be up to 10000 characters; after mention processing, the text sent to LinkedIn must be at most 1250 characters. The message string is required but may be empty with a non-blank imageUrl. Empty or whitespace-only text without an image returns HTTP 400. Supports @mentions using @{urn:li:person:ID|Name} or @{urn:li:organization:ID|Company} syntax.

post/linkedin-comments

Request

  • Base URL
    https://api.publora.com/api/v1
  • Auth
    API key in header x-publora-key

Request body

OR

Example request

{
  "message": "Great insights @{urn:li:person:ACoAABcD1234EfG|Jane Smith}! Thanks for sharing.",
  "postedId": "urn:li:share:7123456789012345678",
  "platformId": "linkedin-Tz9W5i6ZYG",
  "parentComment": "urn:li:comment:(urn:li:activity:123,456)",
  "imageUrl": "https://cdn.example.com/reaction.png"
}

Response

Comment created

successboolean

Example response

{
  "success": true
}

Changes

    • info

      added the new optional request property

    • info

      added subschema #1 subschema #2 to the request body anyOf list

    • info

      added the optional property / to the response with the status