Skip to main content
POST
/
actions
/
salesnavigator-inmail-profile
/
run
/
live
Run salesnavigator-inmail-profile action live
curl --request POST \
  --url https://api.edges.run/v1/actions/salesnavigator-inmail-profile/run/live \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "input": {
    "sales_navigator_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: {sales_navigator_profile_url: '<string>', custom_data: {}},
parameters: {},
identity_ids: ['44444444-4444-4444-4444-444444444444']
})
};

fetch('https://api.edges.run/v1/actions/salesnavigator-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/salesnavigator-inmail-profile/run/live"

payload = {
"input": {
"sales_navigator_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_message_id": "<string>"
}

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 for a hassle-free setup.

Reliability & error handling

When sending an InMail, Edges may detect that the target user has blocked the sender. In that case, we perform an additional check to determine whether you still have InMail credits:
  • If credits remain, the API returns SN_INMAIL_UNREACHABLE_USER
  • If credits are exhausted, the API returns LK_INMAIL_NOT_ENOUGH_CREDIT
Edge case: if you have 0 credits and the target user blocked you, the returned error will be LK_INMAIL_NOT_ENOUGH_CREDIT.

Authorizations

X-API-Key
string
header
required

Body

application/json
input
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"]

Response

Successful response

message
string
sales_navigator_profile_id
string
linkedin_profile_id
integer
linkedin_thread_id
string
linkedin_message_id
string