WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

List a user's comments

GET/api/linkedin/gateway/users/{identifier}/comments

Pages through comments a person has left across LinkedIn posts — useful for spotting who's actively engaging in a conversation you care about.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401. The account behind account_id must belong to your key.

Path parameters

FieldTypeDescription
identifier *stringThe commenter's internal provider id.

Query parameters

FieldTypeDescription
account_id *stringWhich connected account to read the comments as.
cursorstringThe cursor from a previous response, to continue paging.
limitintegerItems per page, 1–100.

Response fields

FieldTypeDescription
resultobjectitems[], each with id, post_id, text, date, an author_details block (including network_distance), and engagement counters (reaction_counter, reply_counter) — plus a paging cursor and paging.page_count.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. The account_id doesn't belong to this key.·404 Not Found. No such person.·422 Unprocessable Entity. Comments are switched off on this person's activity, or their profile is locked.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl "https://api.warmably.com/api/linkedin/gateway/users/ACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ/comments?account_id=459993d2-b0e7-4b19-baf9-45252ca324cf&limit=25" \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "object": "CommentList",
  "items": [
    {
      "id": "urn:li:comment:(activity:7123456789012345678,7123456789099999999)",
      "post_id": "urn:li:activity:7123456789012345678",
      "post_urn": "urn:li:activity:7123456789012345678",
      "author": "Jane Doe",
      "author_details": {
        "id": "ACoAAABpbnZpdGVy",
        "headline": "Growth Marketing Lead at Acme",
        "profile_url": "https://www.linkedin.com/in/jane-doe-mkt",
        "network_distance": "SECOND_DEGREE"
      },
      "date": "2026-08-21T08:00:00Z",
      "text": "This lines up with what we're seeing too — great breakdown.",
      "reaction_counter": 9,
      "reply_counter": 1
    }
  ],
  "cursor": null,
  "paging": { "page_count": 1 }
}
No key yet? Create one from Dashboard → API Keys.