Run linkedin-message-profile action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-message-profile/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"input": {
"linkedin_profile_url": "<string>",
"custom_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({
input: {linkedin_profile_url: '<string>', custom_data: {}},
parameters: {},
identity_ids: ['44444444-4444-4444-4444-444444444444']
})
};
fetch('https://api.edges.run/v1/actions/linkedin-message-profile/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-message-profile/run/live"
payload = {
"input": {
"linkedin_profile_url": "<string>",
"custom_data": {}
},
"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){
"message": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_id": 123,
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"is_sent": true,
"delivered_at": "2023-11-07T05:31:56Z",
"linkedin_message_id": "<string>",
"attachments": [
{
"name": "<string>"
}
]
}Message LinkedIn Profile
Message LinkedIn Profile
Send a direct message to a LinkedIn connection.
POST
/
actions
/
linkedin-message-profile
/
run
/
live
Run linkedin-message-profile action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-message-profile/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"input": {
"linkedin_profile_url": "<string>",
"custom_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({
input: {linkedin_profile_url: '<string>', custom_data: {}},
parameters: {},
identity_ids: ['44444444-4444-4444-4444-444444444444']
})
};
fetch('https://api.edges.run/v1/actions/linkedin-message-profile/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-message-profile/run/live"
payload = {
"input": {
"linkedin_profile_url": "<string>",
"custom_data": {}
},
"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){
"message": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_id": 123,
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"is_sent": true,
"delivered_at": "2023-11-07T05:31:56Z",
"linkedin_message_id": "<string>",
"attachments": [
{
"name": "<string>"
}
]
}1 credit per result · credit_ratio 1 · Credit costs
Contact info lookups 250 / 24 h · Messages sent 250 / 24 h · Profile enrichments 1,400–2,100 / 24 h · Action limits
Agent skill
edges-linkedin-message-profile — 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.
Video and Audio Format
- Audio files are automatically sent as voice messages when using the following formats:
m4a,mp3,wav,flac - Video files are automatically sent as video messages when using the following formats:
avi,mp4 - File size limit remains unchanged: maximum ~27 MB per attachment (based on Base64 payload size).
- Unsupported formats and any attached files continue to be sent as standard file attachments.
Authorizations
Body
application/json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
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"]

