Send Open InMail
Use the endpoint that creates a new conversation to send InMail through the Classic Inbox.
Create a new LinkedIn conversation
-
Precondition
-
Your LinkedIn account must already be connected.
-
You should not be connected with recipient
-
You should have no another conversations created by open inmail with this recipient
-
Include the
X-AccountId
header in the request. -
You must provide the
profileId
of the profile you want to Open InMail. -
Profile must be "canSendClassicInmail": true (to check this use Retrieve LinkedIn Profile)
-
Field |
Type |
Required |
Description |
---|---|---|---|
|
string |
✅ |
The LinkedIn profile ID of the recipient. |
|
string |
✅ |
The message body you want to send. |
|
string |
✅ |
Subject line of the InMail. |
|
boolean |
✅ |
Must be set to |
POST/api/v1/conversations
curl https://api.salesflow.io/public/v1/conversations \
--request POST \
--header 'X-AccountId: 1234567890' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer HGIXEol8tC722A0ljT8AXoL6OepO7cuvWEmH54hg' \
--data '{
"profileId": "target_profile_id",
"message": "your_message",
"subject": "your_subject",
"inMail": true
}'
RESPONSE EXAMPLE:
{
"conversationId": "abc123xyz",
"messageId": "msg789",
"createdAt": "2025-07-28T10:12:45.000Z"
}