Send and receive LinkedIn messages via one simple API
A REST API for DMs, group messages, conversation threads and typing indicators. Everything your product needs to act like a human on LinkedIn.
Everything you can do with the Messaging API
Send 1:1 and group messages, stream typing indicators, read the inbox and manage conversation state.
/messageSend Message
Send a 1:1 LinkedIn message on behalf of a connected account with optional attachments.
View API docs →/messaging/send-with-typingSend Message With Typing
Show a natural typing indicator before the message lands — mirrors real user behaviour.
View API docs →/messaging/typing-indicatorTrigger Typing Indicator
Send a standalone typing event — useful for human-in-the-loop workflows.
View API docs →/messaging/recent-messagesGet Recent Messages
List the latest inbox messages across all conversations for a connected account.
View API docs →/messaging/conversation-detailsGet Conversation Details
Full conversation thread with all messages, participants and read state.
View API docs →/messaging/mark-seenMark Conversation Seen
Mark a conversation as read — mirrors the LinkedIn UI behaviour.
View API docs →/messaging/mark-all-readMark All Messages Read
Clear the unread badge across every conversation for the account.
View API docs →/messaging/send-groupSend Group Message
Post a message to a LinkedIn group the connected account belongs to.
View API docs →Send a message in seconds
One POST request — authenticated with your API key and a connected account ID.
curl -X POST https://api.connectsafely.ai/v1/messages \
-H "Authorization: Bearer $CONNECTSAFELY_API_KEY" \
-H "X-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-d '{
"recipientId": "urn:li:person:ACoAA...",
"text": "Hey Sarah — loved your post on RAG evals."
}'Who builds on this API
The Messaging API is the backbone of outreach tools, unified inboxes and LinkedIn-aware AI agents.
Outreach & SDR tools
Power multi-touch LinkedIn sequences with typing indicators for a natural, human cadence.
Unified inbox products
Pull conversations, mark them read, and push replies — everything a multi-channel inbox needs.
AI agents on LinkedIn
Give an autonomous agent a safe interface to read, reply and manage LinkedIn conversations.
Start messaging on LinkedIn via API
Get an API key in under two minutes. Pay only for what you send.