Skip to main content

LinkedIn Comments API

Bring LinkedIn comment management into your SaaS product, agency workflow, support tool, or automation through one API. Act as a member or on behalf of a company Page.

  • List comments and nested replies on any post
  • Reply to a comment or post a new top-level comment
  • Comment as a person or on behalf of an organization
  • Delete comments on your posts by comment URN
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
2 platforms
TwitterLinkedIn
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XLIFBTT
One API, every platform
DF

"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"

David Flor, Founder at Darklight Interactive

Divanshu KhatterMarketing Manager at Sembark

"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."

Divanshu Khatter, Marketing Manager at Sembark

Het TikawalaFounder at Kalizzle AI Studio

"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."

Het Tikawala, Founder at Kalizzle AI Studio

Add Social Media to Your Product in Three Steps

Connect once, then publish, schedule, and read data through the same API.

01

Get Your API Key

Sign up and get your API key instantly. No sales calls or complicated setup.

02

Integrate in Minutes

Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.

03

Support Every Major Platform

Give your users access to major social platforms without building and maintaining each integration yourself.

New to PostPeer? Read the getting started guide

Explore Requests and Responses by Format

Use the same endpoint and change only the fields required for each publishing format.

POSTRequest · List Comments
curl -X GET "https://api.postpeer.dev/v1/comments/?platform=linkedin&accountId=acc_li_org_321&postId=urn:li:share:7503693751647723520&limit=25" \
 -H "x-access-key: your-api-key"
202Response · List Comments
{
    "success": true,
    "comments": [
      {
        "id": "urn:li:comment:(urn:li:activity:7503693773307224065,7506340885752803328)",
        "text": "Where can I read the docs?",
        "author": {
          "id": "urn:li:person:ZSAPHe3Z55",
          "name": null
        },
        "timestamp": "2026-08-05T14:22:10Z",
        "likeCount": 3,
        "hidden": null,
        "replies": []
      }
    ],
    "nextCursor": null
}

Explore LinkedIn Comments API Requests and Responses by Action

View the LinkedIn Comments API reference

Everything You Need for LinkedIn Comment Management

Read and moderate LinkedIn comments without wiring up LinkedIn’s versioned socialActions API. One endpoint for listing, replying, and deleting.

List Comments and Replies

Fetch every comment on a LinkedIn post with author, text, timestamp, like count, and its replies. Pass a comment URN to load its nested replies. Paginate with a cursor.

Reply and Comment

Post a top-level comment on a post, or reply to an existing comment. Switch between a postId and a commentId on the same endpoint.

Person or Organization

PostPeer posts the comment as the connected identity, a member or a company Page, using the right actor URN automatically. No URN juggling on your side.

Delete Comments

Remove a comment from your post by comment URN when you need to clean up spam or abuse. One call.

Works on Existing Posts

Read and moderate comments on any post on the connected account, not only posts you published through PostPeer.

Community Management Handled

PostPeer runs LinkedIn’s Community Management OAuth flow and requests the social-feed scopes comments require. Accounts connected before comment support shipped just reconnect once.

Ship LinkedIn Comments in Any Stack

Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.

Dev Stack

Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.

No Code

Trigger publishing workflows from tools your team already uses.

Setup guides

AI Agents & MCP

Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.

Connect via MCP

Frequently Asked Questions

Power Your Next Project With a Unified Social Media API

Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.

Start with 20 free credits. No credit card required.