POST
/
actions
/
linkedin-accept-invitations
/
run
/
live
curl --request POST \
  --url https://api.captaindata.com/v4/actions/linkedin-accept-invitations/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "integration_users": [
    "<string>"
  ],
  "rotate_users": false
}'
[
  {
    "linkedin_invitation_id": 123,
    "linkedin_invitation_urn": "<string>",
    "message": "<string>",
    "sent_time": "2023-11-07T05:31:56Z",
    "invitation_secret": "<string>",
    "linkedin_profile_handle": "<string>",
    "linkedin_profile_url": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "full_name": "<string>",
    "title": "<string>",
    "sales_navigator_profile_id": "<string>",
    "linkedin_profile_id": 123,
    "linkedin_profile_image_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

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:100

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: 100 <= x <= 100

Body

application/json

Response

200
application/json
Successful response

The response is of type object[].