Skip to main content

Send a message to a LinkedIn Profile

This API enables the authenticated user to send a direct message to a specific LinkedIn profile by providing the recipient's profile ID, the sender's own profile ID, and the message content.

The profile_id is a unique identifier used by LinkedIn to distinguish individual user profiles. On WeLink, you can obtain the profile_id by calling the actions/get_profile_details API. In the response of this API, the field profile_id is provided. This value should be used as the profile_id when making requests to other WeLink APIs that require a LinkedIn profile reference.

Header Parameters
x-api-key uuid REQUIRED
x-api-secret uuid REQUIRED
Request Body REQUIRED
accountId string REQUIRED
profile_id string REQUIRED
message string REQUIRED
frequency number
track_reply boolean
Responses
Success
Schema OPTIONAL
thread_id string
message_id string
sent_at number
Failed
Schema OPTIONAL
status string
request_id string
error string