Skip to main content
POST
/
actions
/
linkedin-accept-invitations
/
run
/
live
Run linkedin-accept-invitations action live
curl --request POST \
  --url https://api.edges.run/v1/actions/linkedin-accept-invitations/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "identity_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "identity_mode": "direct"
}'
[
  {
    "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 an identity 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
identity_ids
string<uuid>[] | null

An array of Identity UUIDs linked to identities (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.

identity_mode
enum<string> | null
default:direct

If "auto", the Action will use any identities from the current workspace (unless you have provided a list of identity_ids). "managed" will use the Edges pool of identities for an extra credit cost

Available options:
direct,
auto,
managed

Response

Successful response

linkedin_invitation_id
integer
linkedin_invitation_urn
string
message
string
sent_time
string<date-time>
invitation_secret
string
linkedin_profile_handle
string
linkedin_profile_url
string<uri>
first_name
string
last_name
string
full_name
string
title
string
sales_navigator_profile_id
string
linkedin_profile_id
integer
linkedin_profile_image_url
string<uri>
I