Send messages to a profile from Recruiter account
This API enables the authenticated user to send a direct message to a specific LinkedIn profile from a recruiter linkedin account by providing the recipient's profile ID, the sender's own profile ID, and the message content.
Note
LinkedIn doesn't allow two concurrent sessions on a recruiter plan. contract_id can be obtained by calling the
/api/v1/recruiter_contracts endpoint and extracting the
contract_id from the response.
| Header Parameters |
|---|
x-api-key uuid — REQUIRED |
x-api-secret uuid — REQUIRED |
| Request Body — REQUIRED |
|---|
accountId string — REQUIRED |
contract_id string — REQUIRED |
profile_id string — REQUIRED |
message string — REQUIRED |
signature string — REQUIRED |
subject string — REQUIRED |
| Responses |
|---|
| Schema — OPTIONAL |
|---|
status string | result objectmessage string | thread_id string |
|
|
| Schema — OPTIONAL |
|---|
status string | request_id string | error string |
|