Facebook Pixel
APILinkedIn Posts

Get the list of people who reposted a post

Retrieve the list of people who reposted a LinkedIn post, via the SDUI RepostList endpoint (parsed from RSC). Returns each reposter's name, vanity name (actorPublicIdentifier), profile URL and profile picture, plus a repostType ("simple" = plain repost, "quote" = repost with commentary). Uses cursor-based pagination: pass the returned pagination.token together with nextStartIndex to fetch the next page.

POST/posts/reposts
Authentication requiredPosts

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/posts/reposts' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"postUrl":"https://linkedin.com/posts/example-post"}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
postUrlstringYesFull URL of the LinkedIn post to get reposters from
countnumberNoNumber of reposters to request per page (default 50)
startIndexnumberNoOffset for pagination (default 0). Use pagination.nextStartIndex from the previous response.
tokenstringNoCursor token from a previous response (pagination.token). Required together with startIndex for subsequent pages.

Example

{
  "postUrl": "https://linkedin.com/posts/example-post"
}

Responses

StatusDescription
200Reposters retrieved successfully
400Bad request - Missing required fields or no valid URN found
401Unauthorized - Invalid or missing API key

200 Response Parameters

NameTypeDescription
successboolean
postUrlstringURL of the post
accountIdstringLinkedIn account ID used for the request
repostersarray
paginationobject
postDetailsobject

200 Example

{
  "success": true,
  "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7468554531233185792/",
  "accountId": "696ce9e780e0483585e4e553",
  "reposters": [
    {
      "actorType": "profile",
      "actorName": "Himanshu Verma",
      "actorPublicIdentifier": "himansuuverma",
      "actorProfilePicture": "https://media.licdn.com/dms/image/...",
      "actorProfileUrl": "https://www.linkedin.com/in/himansuuverma",
      "repostType": "simple"
    }
  ],
  "pagination": {
    "startIndex": 0,
    "count": 10,
    "hasNextPage": true,
    "nextStartIndex": 10,
    "token": "Cjc4MDcxMjk3My0xNzgwOTg1MTY1OTk0LTVmNmY2NzMzMzZjZTg0ZjA1MzExMGU4ZDdmZGUwYTdl"
  },
  "postDetails": {
    "activityUrn": "urn:li:activity:7468554531233185792",
    "ugcPostUrn": null,
    "shareUrn": "urn:li:share:7468554530276720640",
    "featuredActivityUrn": null,
    "content": "Claude just became a Wall Street analyst..."
  }
}

400 Response Parameters

NameTypeDescription
successboolean
errorstring

400 Example

{
  "success": true,
  "error": "example_value"
}

401 Response Parameters

NameTypeDescription
errorstring

401 Example

{
  "error": "Unauthorized - Invalid credentials"
}