POST
/
actions
/
linkedin-extract-post-commenters
/
run
/
live
curl --request POST \
  --url https://api.captaindata.com/v4/actions/linkedin-extract-post-commenters/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "parameters": {},
  "integration_users": [
    "<string>"
  ],
  "rotate_users": false,
  "input": {
    "linkedin_post_url": "<string>"
  }
}'
[
  {
    "last_name": "<string>",
    "first_name": "<string>",
    "full_name": "<string>",
    "linkedin_profile_id": "<string>",
    "linkedin_profile_handle": "<string>",
    "linkedin_profile_picture": "<string>",
    "summary": "<string>",
    "linkedin_profile_url": "<string>",
    "linkedin_connection_degree": "<string>",
    "comment_text": "<string>",
    "comment_time": "2023-11-07T05:31:56Z",
    "comment_like_count": 123,
    "comment_reply_count": 123,
    "last_reply": "<string>",
    "linkedin_comment_url": "<string>",
    "linkedin_comment_id": "<string>",
    "linkedin_post_url": "<string>",
    "linkedin_post_id": "<string>"
  }
]

To run LinkedIn actions, you must first create a user and connect a LinkedIn account, either using our Chrome Extension, username/password login, or Rented Accounts for a hassle-free setup.

X-Pagination-Next and X-Pagination-Previous headers may be included in the response to provide full URLs for the next or previous pages. When present, always prefer using these headers over manually constructing pagination URLs.

Authorizations

X-API-Key
string
header
required

Query Parameters

page
integer
default:1

Page index for manual pagination, starting at 1; increase sequentially (page=1, page=2, etc.) until the response returns an empty data array.

page_size
integer
default:10

Maximum number of results per page (read-only; defined by the Action, actual count may be lower in some cases like throttling or internal limits).

Required range: 10 <= x <= 10
token
string

Returned by some Actions to support cursor-based pagination; pass it as a query param to continue where the last request ended. Omit if not present — it means there are no more results.

Body

application/json
input
object
required
parameters
object
integration_users
string[] | null

An array of User UIDs linked to integration users (e.g. LinkedIn) used to execute the Action. You must provide at least one valid UID with access to the integration. Do not use account_uid values — only user_uid is supported.

rotate_users
boolean | null
default:false

If true, the Action will use any integration users from the current workspace (unless you have provided a list of integration_users).

Response

200
application/json
Successful response
last_name
string
first_name
string
full_name
string
linkedin_profile_id
string
linkedin_profile_handle
string
linkedin_profile_picture
string
summary
string
linkedin_profile_url
string
linkedin_connection_degree
string
comment_text
string
comment_time
string
comment_like_count
number
comment_reply_count
number
last_reply
string
linkedin_comment_url
string
linkedin_comment_id
string
linkedin_post_url
string
linkedin_post_id
string