Facebook Pixel
ApiUncategorized

Get all comments from a post

Fetch all comments from a LinkedIn post in a single request. Automatically handles pagination internally. Ideal for bulk analysis of post engagement. Use for posts with many comments where you need complete data.

POST/posts/comments/all

Get all comments from a post

Fetch all comments from a LinkedIn post in a single request. Automatically handles pagination internally. Ideal for bulk analysis of post engagement. Use for posts with many comments where you need complete data.

Authentication requiredPosts

Code Examples

curl -X POST '/linkedin/posts/comments/all' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"postUrl":"string"}'

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 all comments from
batchSizenumberNoNumber of comments to fetch per internal request
maxCommentsnumberNoMaximum total comments to retrieve (safety limit)

Example

{
  "postUrl": "string"
}

Responses

StatusDescription
200All comments retrieved successfully