get /v2/social/post/comments

Get post comments

Get comments for a LinkedIn post.

A valid empty result is not charged.

Authorizations

apiToken string
x-api-token string

Query parameters

postUrn string Required
LinkedIn post URN
page integer
Page number (1-indexed). Increment together with paginationToken.
paginationToken string
Omit on page 1. For each next page, increment page and pass the returned token with other parameters unchanged.
perPage integer
Number of items per page
numReplies integer
Number of replies to include per comment
sortOrder SocialCommentSortOrder
`CHRONOLOGICAL` returns the complete top-level comment page; `RELEVANCE` may return only LinkedIn's curated subset.

Responses

200 Successful Response
Array of PostComment
commentary string
image string
linkedinURL string
linkedinID string
name string
createdAt string
numReactions integer
numComments integer
Array of ReactionTypeCount
count integer
reactionType string
Array of PostComment
→ PostComment (recursive)
totalResults integer
pages integer
paginationToken string
creditsUsed number
Number of credits charged for this request.
400 Bad Request
detail enum Required
"Conflicting API tokens provided in query parameters and headers"
402 Payment Required
detail enum Required
"Insufficient email credits""Some email verifications are already in progress and might use all your remaining email credits. Please try again later.""Insufficient phone credits""Some phone verifications are already in progress and might use all your remaining phone credits. Please try again later.""Insufficient credits"
403 Forbidden
detail enum Required
"API token should be provided in headers or query parameters""Current API token is not registered in our database"
404 Not found
422 Validation Error
Array of ValidationError
Array of string | integer
string | integer
msg string Required
type string Required
input any
object