Run linkedin-inmail-profile action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-inmail-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-inmail-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-inmail-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){
"sales_navigator_profile_id": "<string>",
"linkedin_profile_id": 123,
"message": "<string>",
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"is_sent": true,
"linkedin_people_post_search_url": "<string>",
"delivered_at": "2023-11-07T05:31:56Z",
"linkedin_message_id": "<string>",
"attachments": [
{
"name": "<string>"
}
]
}
Send LinkedIn InMail
Send LinkedIn InMail
Send an InMail message to a LinkedIn profile, even if you’re not connected. Requires LinkedIn Premium.
POST
/
actions
/
linkedin-inmail-profile
/
run
/
live
Run linkedin-inmail-profile action live
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-inmail-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-inmail-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-inmail-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){
"sales_navigator_profile_id": "<string>",
"linkedin_profile_id": 123,
"message": "<string>",
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"is_sent": true,
"linkedin_people_post_search_url": "<string>",
"delivered_at": "2023-11-07T05:31:56Z",
"linkedin_message_id": "<string>",
"attachments": [
{
"name": "<string>"
}
]
}
1 credit per result · credit_ratio 1 · Credit costs
Profile enrichments 1,400–2,100 / 24 h · Action limits
The 1,400–2,100 / 24 h figure on this page is the profile-enrichment
quota this action draws on when it loads the recipient profile — it is not
an InMail send allowance. LinkedIn Premium still has its own InMail credits;
exhausting those surfaces as a LinkedIn limit (for example
API_FUSE_LIMIT),
not that number.For Edges’ dedicated InMail send quota (InMails sent 5–50 / 31 d), see
Send Sales Navigator InMail.Agent skill
edges-linkedin-inmail-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"]
Response
Successful response

