Skip to main content
POST
/
linkedin
/
send-message
Send LinkedIn message
curl --request POST \
  --url https://api.harvest-api.com/linkedin/send-message \
  --header 'X-API-Key: <api-key>'
{
  "element": {},
  "status": "<string>",
  "error": "<string>"
}
This endpoint works only with custom accounts. Please check the Using Custom Accounts guide for more details on how to set up and use custom accounts.

Authorizations

X-API-Key
string
header
required

Query Parameters

recipientProfile
string<url>

LinkedIn profile URL to which the message will be sent. For example, 'https://www.linkedin.com/in/john-doe-123456789/'

message
string

Message text to send.

LinkedIn cookies. Please check https://docs.harvest-api.com/guides/custom-accounts for more details on how to get and use the cookies.

proxy
string

Proxy to use for this request. More details - https://docs.harvest-api.com/guides/custom-accounts

userAgent
string

User-Agent to use for this request. More details - https://docs.harvest-api.com/guides/custom-accounts

Response

Message sent successfully

element
object
status
string
error
string