posts
Add Comment to Post
Add a comment to a LinkedIn post
POST
Add a new comment to any LinkedIn post using the post URL.
This endpoint costs 1 credit per request.
Header Parameters
Your API key
Body Parameters
LinkedIn post URL to comment on (must contain a valid activity URN)
Text content of the comment to post
Country code for proxy selection. Available: (US,UK,FR)
LinkedIn authentication cookie obtained from the login/verify process
Response
Request status (success/error)
Detailed status message about the comment request
Notes
- The post URL must contain a valid LinkedIn activity URN
- Example of valid post URLs:
https://www.linkedin.com/feed/update/urn:li:activity:...
https://www.linkedin.com/posts/user-activity-...
- Comments are posted with the identity associated with the login token
- Comment text supports plain text only
- No formatting or special characters are supported in comments
- The post must be accessible with the provided login token
- LinkedIn’s rate limits and spam detection apply to comment posting
- Comments cannot be longer than LinkedIn’s maximum character limit
- Some posts may have commenting disabled by their authors