Send an InMail message to LinkedIn Profile
This API allows the authenticated user to send an InMail 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 |
|---|
| Schema — OPTIONAL |
|---|
thread_id string | message_id string | sent_at number |
|
| Schema — OPTIONAL |
|---|
status string | request_id string | error string |
|