Skip to main content
POST
/
inbox
/
linkedin
Send LinkedIn Message
curl --request POST \
  --url https://api.lemlist.com/api/inbox/linkedin \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sendUserId": "usr_h47tiJr87Zn7XtQHi",
  "leadId": "lea_7HAh3odqPKamkBTv9",
  "contactId": "ctc_yHXD3NWjPg7Z9MuWZ",
  "message": "Hi, I wanted to follow up..."
}'
{
  "ok": true
}
This endpoint sends a LinkedIn message through the lemlist inbox.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
sendUserId
string
required

Sender user ID

leadId
string
required

Lead ID

contactId
string
required

Contact ID

message
string
required

Message content

Response

Success

ok
boolean