POST
/
actions
/
linkedin-extract-post
/
run
/
live
curl --request POST \
  --url https://api.captaindata.com/v4/actions/linkedin-extract-post/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "integration_users": [
    "<string>"
  ],
  "rotate_users": false,
  "input": {
    "linkedin_post_url": "<string>"
  }
}'
{
  "published_date": "2023-11-07T05:31:56Z",
  "hyperlinks": [
    "<string>"
  ],
  "post_media_url": [
    "<any>"
  ],
  "content_text": "<string>",
  "linkedin_post_id": "<string>",
  "linkedin_post_url": "<string>",
  "full_name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "linkedin_profile_url": "<string>",
  "linkedin_profile_id": "<string>",
  "linkedin_original_post": "<string>",
  "linkedin_post_type": "<string>",
  "reaction_count": 123,
  "comment_count": 123,
  "linkedin_job_url": "<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.

Authorizations

X-API-Key
string
header
required

Body

application/json
input
object
required
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
published_date
string
post_media_url
any[]
content_text
string
linkedin_post_id
string
linkedin_post_url
string
full_name
string
first_name
string
last_name
string
linkedin_profile_url
string
linkedin_profile_id
string
linkedin_original_post
string
linkedin_post_type
string
reaction_count
number
comment_count
number
linkedin_job_url
string