curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/async \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"inputs": [
{
"linkedin_profile_url": "<string>",
"custom_data": {}
}
],
"parameters": {},
"name": "<string>",
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
],
"identity_mode": "direct"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
inputs: [{linkedin_profile_url: '<string>', custom_data: {}}],
parameters: {},
name: '<string>',
identity_ids: ['44444444-4444-4444-4444-444444444444'],
identity_mode: 'direct'
})
};
fetch('https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/async', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/async"
payload = {
"inputs": [
{
"linkedin_profile_url": "<string>",
"custom_data": {}
}
],
"parameters": {},
"name": "<string>",
"identity_ids": ["44444444-4444-4444-4444-444444444444"],
"identity_mode": "direct"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"run_id": 123,
"run_uid": "<string>",
"workspace_uid": "<string>",
"user_uid": "<string>",
"action_name": "<string>",
"status": "pending",
"postponed_until": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>"
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}Extract LinkedIn People Post Activity Async
Extract LinkedIn profile post activity asynchronously with automatic pagination. Results are delivered via callback.
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/async \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"inputs": [
{
"linkedin_profile_url": "<string>",
"custom_data": {}
}
],
"parameters": {},
"name": "<string>",
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
],
"identity_mode": "direct"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
inputs: [{linkedin_profile_url: '<string>', custom_data: {}}],
parameters: {},
name: '<string>',
identity_ids: ['44444444-4444-4444-4444-444444444444'],
identity_mode: 'direct'
})
};
fetch('https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/async', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/actions/linkedin-extract-people-post-activity/run/async"
payload = {
"inputs": [
{
"linkedin_profile_url": "<string>",
"custom_data": {}
}
],
"parameters": {},
"name": "<string>",
"identity_ids": ["44444444-4444-4444-4444-444444444444"],
"identity_mode": "direct"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"run_id": 123,
"run_uid": "<string>",
"workspace_uid": "<string>",
"user_uid": "<string>",
"action_name": "<string>",
"status": "pending",
"postponed_until": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>"
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}1 credit per 20 results · credit_ratio 0.05 · Credit costs
People post activity 700 / 24 h · Action limits
Agent skill
edges-linkedin-extract-people-post-activity — ready-made instructions for coding agents calling this endpoint.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).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.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.
Understanding Author Fields
The response includes three different author-related fields that help you understand the post structure:activity_author
The person who performs the activity (e.g., the person who reshared, commented, or reacted). For original posts, this is the same as author. For reshares, this is the person who shared the content.
author
The author of the first-level post (the visible post you see directly). This is the person or company whose post appears in the activity feed.
source_post
Contains information about the source post (2nd level) when the visible post is a reshare. This object includes:
author: The author of the source post that was resharedlinkedin_post_id: The source post’s IDlinkedin_post_url: The source post’s URLcontent_text: The source post’s content
source_post returns null if there is no 2nd level post (i.e., the visible post is an source post, not a reshare).
Example Structure
For an original post:author→ Author of the postactivity_author→ Same asauthor(they created the post)source_post→null(no source post to reference)
author→ Author of the reshared postactivity_author→ Person who performed the reshare activitysource_post.author→null(no source post to reference)
author→ Author of the post, same as the activity_authoractivity_author→ Person who performed the reshare activitysource_post.author→ Author of the reshared post
author→ Author of the reshared post (first level)activity_author→ Person who performed the resharesource_post.author→ Author of the source post shared by the first level (second level)
Authorizations
Body
1 - 100000 elements- Option 1
- Option 2
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Optional user-defined label for the run.
255An 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.
["44444444-4444-4444-4444-444444444444"]
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
direct, auto, managed Show child attributes
Show child attributes
Callbacks
POST{$request.body#/callback/url}onSave
Body
Stable callback identifier (remains identical across retries). Used by clients for deduplication.
Show child attributes
Show child attributes
- Option 1
- Option 2
Show child attributes
Show child attributes
Represents an error returned by the API. This schema defines the standard structure of error messages to ensure consistent error handling across the application.
Show child attributes
Show child attributes
Number of results included in this callback.
Results of the current callback
Show child attributes
Show child attributes
Response
Callback successfully processed
Response
Default Response
The ID of the run.
The UID of the run.
The UID of the workspace.
The UID of the user.
The name of the action.
The status of the run.
pending, running, completed, failed If the run is postponed, this field indicates when it will be retried.
The date and time when the run was created.
The date and time when the run was last updated.
Optional user-defined label for the flow run.
255
