Messaging
Message LinkedIn Profile
API Documentation
Business API
- Workspaces
- Users
- Integrations
LinkedIn API
- Authentication
- Extract
- Search
- Intents
- Messaging
- Engage
Sales Navigator API
- Search
- Metrics
- Engage
Messaging
Message LinkedIn Profile
POST
/
actions
/
linkedin-message-profile
/
run
/
live
curl --request POST \
--url https://api.captaindata.com/v4/actions/linkedin-message-profile/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"parameters": {},
"integration_users": [
"<string>"
],
"rotate_users": false,
"input": {
"linkedin_profile_url": "<string>",
"message": "",
"files": [
{
"file_data": "<string>",
"filename": "<string>"
}
]
}
}'
{
"linkedin_profile_url": "<string>",
"linkedin_profile_handle": "<string>",
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"message": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_id": 123,
"job_title": "<string>",
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"is_sent": true,
"linkedin_people_post_search_url": "<string>",
"reply": "<string>",
"delivery_at": "2023-11-07T05:31:56Z",
"message_id": "<string>",
"attachments": [
{
"assetUrn": "<string>",
"byteSize": 123,
"mediaType": "<string>",
"name": "<string>"
}
]
}
To run LinkedIn actions, you must first create a user and connect a LinkedIn account, either using our Chrome Extension, username/password login, or Rented Accounts for a hassle-free setup.
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
curl --request POST \
--url https://api.captaindata.com/v4/actions/linkedin-message-profile/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"parameters": {},
"integration_users": [
"<string>"
],
"rotate_users": false,
"input": {
"linkedin_profile_url": "<string>",
"message": "",
"files": [
{
"file_data": "<string>",
"filename": "<string>"
}
]
}
}'
{
"linkedin_profile_url": "<string>",
"linkedin_profile_handle": "<string>",
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"message": "<string>",
"sales_navigator_profile_id": "<string>",
"linkedin_profile_id": 123,
"job_title": "<string>",
"linkedin_thread_id": "<string>",
"linkedin_thread_url": "<string>",
"is_sent": true,
"linkedin_people_post_search_url": "<string>",
"reply": "<string>",
"delivery_at": "2023-11-07T05:31:56Z",
"message_id": "<string>",
"attachments": [
{
"assetUrn": "<string>",
"byteSize": 123,
"mediaType": "<string>",
"name": "<string>"
}
]
}