Skip to main content
POST
/
actions
/
linkedin-extract-post-likers
/
run
/
schedule
Schedule linkedin-extract-post-likers action
curl --request POST \
  --url https://api.edges.run/v1/actions/linkedin-extract-post-likers/run/schedule \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "cron": "<string>",
  "inputs": [
    {
      "linkedin_post_url": "<string>",
      "custom_data": {}
    }
  ],
  "callback": {
    "url": "https://example.com/callback",
    "headers": {},
    "on": "all"
  },
  "parameters": {},
  "identity_ids": [
    "44444444-4444-4444-4444-444444444444"
  ],
  "identity_mode": "direct",
  "timezone": "<string>",
  "schedule_at": "2023-11-07T05:31:56Z"
}
'
{
  "schedule_uid": "<string>",
  "status": "ACTIVE",
  "cron": "<string>",
  "timezone": "<string>",
  "next_execution_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}
This action allows you to extract users who liked a LinkedIn post.
The public handle (e.g., john-doe) is not returned in the response. The linkedin_profile_url field contains a different identifier format. If you need the real public profile URL, you’ll need to enrich the extracted people using the Extract LinkedIn People action.

Sorting behavior

The Most relevant sorting option intentionally hides part of the data (this is a LinkedIn limitation we cannot control). For example, a post with 1,500 potential likers may only return around 400 results with this sorting.
The Newest sorting option may sometimes return incomplete pages, but it will return the complete dataset. For example, all 1,500 likers will be extracted even if some pages have fewer results than expected.
We recommend using the Newest sorting option if you need to extract all likers from a post.

Misc

To run LinkedIn actions, you must first create an identity and connect a LinkedIn account, either using our Chrome Extension, username/password login, or Managed Accounts for a hassle-free setup.
Async action calls automatically handle pagination through the X-AUTO-PAGINATE header, iterating over all pages of results and sending batches to your callback URL. You can limit the total number of results with the parameters.max_results param (see “Body” section).
Callback Delivery: Both async and schedule modes deliver results via the callback URL provided in your request.Consistent Format: All execution modes use the same action logic, so inputs and results are identical regardless of mode.Error Handling: Errors follow the standard API error format.
Using async and schedule modes, you have to implement some kind of callback management. Be sure to check the Managing Callbacks guide to better understand how it works and what your can do.

Authorizations

X-API-Key
string
header
required

Body

application/json
cron
string
required

Cron expression for scheduling the action. If provided, the action will be scheduled to run at the specified intervals.

Required string length: 1 - 256
inputs
object[]
required
Required array length: 1 - 100 elements
callback
object
required
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.

Example:
["44444444-4444-4444-4444-444444444444"]
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
timezone
string

The timezone to use for the cron expression (IANA timezone format, e.g., "America/New_York" or "Europe/Paris"). If not provided, the UTC timezone will be used.

Required string length: 1 - 64
schedule_at
string<date-time>

This is for one shot or 1st programmation calls. If not provided, the run will be scheduled immediately.

Response

Default Response

schedule_uid
string

The UID of the scheduled run.

status
enum<string>

The status of the scheduled run.

Available options:
ACTIVE,
CANCELLED,
PAUSED,
COMPLETED
cron
string | null

Cron expression for the scheduled run (POSIX format)

timezone
string | null

Timezone for the scheduled run (IANA timezone format)

next_execution_at
string<date-time> | null

Next execution at

created_at
string<date-time>

The date and time when the run was created.