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.
/posts/repostsCode 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
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
postUrl | string | Yes | Full URL of the LinkedIn post to get reposters from |
count | number | No | Number of reposters to request per page (default 50) |
startIndex | number | No | Offset for pagination (default 0). Use pagination.nextStartIndex from the previous response. |
token | string | No | Cursor token from a previous response (pagination.token). Required together with startIndex for subsequent pages. |
Example
{
"postUrl": "https://linkedin.com/posts/example-post"
}Responses
| Status | Description |
|---|---|
| 200 | Reposters retrieved successfully |
| 400 | Bad request - Missing required fields or no valid URN found |
| 401 | Unauthorized - Invalid or missing API key |
200 Response Parameters
| Name | Type | Description |
|---|---|---|
success | boolean | |
postUrl | string | URL of the post |
accountId | string | LinkedIn account ID used for the request |
reposters | array | |
pagination | object | |
postDetails | object |
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
| Name | Type | Description |
|---|---|---|
success | boolean | |
error | string |
400 Example
{
"success": true,
"error": "example_value"
}401 Response Parameters
| Name | Type | Description |
|---|---|---|
error | string |
401 Example
{
"error": "Unauthorized - Invalid credentials"
}Get reactions from a post (v2 - with vanity names)
Retrieve reactions from a LinkedIn post using the SDUI endpoint. Returns vanity names (actorPublicIdentifier) and proper profile URLs. Uses cursor-based pagination via pageToken instead of offset-based start.
Search posts by keyword
Search LinkedIn posts by keywords with filtering options. Find relevant content for engagement, monitor industry discussions, or discover trending topics. Filter by date posted, sort by relevance or recency, and target posts by author job titles.
