Run linkedin-extract-conversations action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-extract-conversations/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"parameters": {},
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({parameters: {}, identity_ids: ['44444444-4444-4444-4444-444444444444']})
};
fetch('https://api.edges.run/v1/actions/linkedin-extract-conversations/run/live', 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-conversations/run/live"
payload = {
"parameters": {},
"identity_ids": ["44444444-4444-4444-4444-444444444444"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"participants": [
{
"linkedin_profile_id": 123,
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"job_title": "<string>",
"linkedin_people_post_search_url": "<string>"
}
],
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"read": true,
"total_received_messages": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_activity_at": "2023-11-07T05:31:56Z",
"last_message": {
"delivered_at": "2023-11-07T05:31:56Z",
"first_name": "<string>",
"last_name": "<string>",
"linkedin_profile_id": 123,
"sales_navigator_profile_id": "<string>",
"job_title": "<string>",
"message_id": "<string>",
"content": "<string>",
"attachments": [
{
"type": "audio",
"duration": 123,
"download_url": "<string>"
}
]
},
"unread_count": 123,
"sponsored": true
}
]Extract LinkedIn Conversations
Extract LinkedIn Conversations
Extract the list of messaging conversations from your LinkedIn inbox.
POST
/
actions
/
linkedin-extract-conversations
/
run
/
live
Run linkedin-extract-conversations action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-extract-conversations/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"parameters": {},
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({parameters: {}, identity_ids: ['44444444-4444-4444-4444-444444444444']})
};
fetch('https://api.edges.run/v1/actions/linkedin-extract-conversations/run/live', 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-conversations/run/live"
payload = {
"parameters": {},
"identity_ids": ["44444444-4444-4444-4444-444444444444"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"participants": [
{
"linkedin_profile_id": 123,
"sales_navigator_profile_id": "<string>",
"linkedin_profile_url": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"job_title": "<string>",
"linkedin_people_post_search_url": "<string>"
}
],
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"read": true,
"total_received_messages": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_activity_at": "2023-11-07T05:31:56Z",
"last_message": {
"delivered_at": "2023-11-07T05:31:56Z",
"first_name": "<string>",
"last_name": "<string>",
"linkedin_profile_id": 123,
"sales_navigator_profile_id": "<string>",
"job_title": "<string>",
"message_id": "<string>",
"content": "<string>",
"attachments": [
{
"type": "audio",
"duration": 123,
"download_url": "<string>"
}
]
},
"unread_count": 123,
"sponsored": true
}
]1 credit per 20 results · credit_ratio 0.05 · Credit costs
Conversations extracted 2,500 / 24 h · Action limits
Agent skill
edges-linkedin-extract-conversations — ready-made instructions for coding agents calling this endpoint.Free with Engagement Mode
No credits required when executed with an Engagement Identity. Set type: “engagement” when creating an Identity via API.
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 to run without connecting an account.
Prefer
X-Pagination-Next and X-Pagination-Previous over constructing
pagination URLs yourself. Stop only when X-Pagination-Next is absent —
a short page (fewer results than the previous page, or than the action’s usual
page size) does not mean you are done. LinkedIn’s page length can vary from
one request to the next; the result array length is not a stop condition.Results follow LinkedIn’s inbox order — most recently active conversation first. A thread that receives a new message moves up and can appear in your next extraction when it falls within
max_results.Edges does not emit a webhook when a connection or conversation is removed. An item deleted before your extraction never appears in the results. To detect removals, periodically extract the full list and compare it to what you stored — missing items were likely removed.
Query Parameters
Body
application/json
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"]
