Skip to main content
POST
/
actions
/
linkedin-comment-post
/
run
/
live
Run linkedin-comment-post action live
curl --request POST \
  --url https://api.edges.run/v1/actions/linkedin-comment-post/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "parameters": {},
  "identity_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "identity_mode": "direct",
  "input": {
    "linkedin_post_url": "<string>",
    "custom_data": {}
  }
}'
{
  "linkedin_url": "<string>",
  "thread_urn": "<string>",
  "comment": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}
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

Body

application/json
input
object
required
  • Option 1
  • Option 2
parameters
object
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_url
string<uri>
thread_urn
string
comment
string
created_at
string<date-time>
I