List an account's own comments
Return a single page of the LinkedIn account's own comment history (the comments this account left on posts), newest first. Lightweight — one LinkedIn call per request. To page, pass the returned `paginationToken` on the next request; keep going until `paginationToken` is null.
/account/{accountId}/commentsCode Examples
curl -X GET 'https://api.connectsafely.ai/linkedin/account/<accountId>/comments' \ -H 'Authorization: Bearer <your_api_key>'Return a single page of the LinkedIn account's own comment history (the comments this account left on posts), newest first. Lightweight — one LinkedIn call per request. To page, pass the returned paginationToken on the next request; keep going until paginationToken is null.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
accountId | path | Yes | string | LinkedIn account ID (24-character hex string) |
count | query | No | number | Number of comments to return per page |
start | query | No | number | Pagination offset (0-indexed). Ignored when paginationToken is provided. |
paginationToken | query | No | string | Token from a previous response to fetch the next page |
Request Body
No request body.
Responses
| Status | Description |
|---|---|
| 200 | Comment history page retrieved successfully |
200 Response Parameters
| Name | Type | Description |
|---|---|---|
success | boolean | |
accountId | string | LinkedIn account ID used |
profileId | string | LinkedIn profile URN |
count | number | Number of comments returned in this page |
paginationToken | string | Token for the next page; null when there are no more pages |
comments | array |
200 Example
{
"success": true,
"accountId": "6971843ca43920b1889fa28f",
"profileId": "ACoAAFntzT4BELbT50_fDUyqwwNPXPXu-8P3HWc",
"count": 1,
"paginationToken": "dXJuOmxpOmFjdGl2aXR5Ojc0NzQ5NzY5OTU3...",
"comments": [
{
"activityUrn": "7475541592183848960",
"timestamp": 1782308004423,
"isoDate": "2026-06-24T13:33:24.423Z",
"type": "comment"
}
]
}Get creator analytics
Retrieve LinkedIn creator analytics for the authenticated account. Includes engagement metrics, content performance, audience insights, and growth trends. Supports various time ranges and metric filters.
List an account's own reactions
Return a single page of the LinkedIn account's own reaction history (the posts this account reacted to), newest first. Lightweight — one LinkedIn call per request. To page, pass the returned `paginationToken` on the next request; keep going until `paginationToken` is null.
