curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-mark-message-as-read/run/async \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"inputs": [
{
"linkedin_thread_id": "<string>",
"custom_data": {}
}
],
"name": "<string>",
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
inputs: [{linkedin_thread_id: '<string>', custom_data: {}}],
name: '<string>',
identity_ids: ['44444444-4444-4444-4444-444444444444']
})
};
fetch('https://api.edges.run/v1/actions/linkedin-mark-message-as-read/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-mark-message-as-read/run/async"
payload = {
"inputs": [
{
"linkedin_thread_id": "<string>",
"custom_data": {}
}
],
"name": "<string>",
"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){
"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": {}
}Mark LinkedIn Message as Read Async
Mark a LinkedIn conversation as read asynchronously. Results are delivered via callback.
curl --request POST \
--url https://api.edges.run/v1/actions/linkedin-mark-message-as-read/run/async \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"inputs": [
{
"linkedin_thread_id": "<string>",
"custom_data": {}
}
],
"name": "<string>",
"identity_ids": [
"44444444-4444-4444-4444-444444444444"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
inputs: [{linkedin_thread_id: '<string>', custom_data: {}}],
name: '<string>',
identity_ids: ['44444444-4444-4444-4444-444444444444']
})
};
fetch('https://api.edges.run/v1/actions/linkedin-mark-message-as-read/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-mark-message-as-read/run/async"
payload = {
"inputs": [
{
"linkedin_thread_id": "<string>",
"custom_data": {}
}
],
"name": "<string>",
"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){
"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": {}
}Free with Engagement Mode
linkedin_thread_id (or a LinkedIn messaging thread URL). Retrieve thread IDs from Extract LinkedIn Conversations or Extract LinkedIn Messages. Resolve a thread URL from a profile with Get LinkedIn Thread URL.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.Authorizations
Body
1 - 100000 elementsShow 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"]
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
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
