LinkedIn Messaging API
Send LinkedIn messages via API, retrieve conversations, and build automated outreach sequences.
The ConnectSafely LinkedIn Messaging API enables you to send LinkedIn messages programmatically, retrieve conversations, and build sophisticated automated outreach workflows. Perfect for sales automation, CRM integration, and AI-powered engagement platforms.
Why Use the LinkedIn Messaging API?
- Automated Outreach - Send personalized LinkedIn direct messages at scale for lead generation and prospecting campaigns
- Conversation Management - Retrieve and track all LinkedIn messages for CRM synchronization and follow-up automation
- Multi-Step Sequences - Build sophisticated drip campaigns with typing indicators for natural, human-like engagement
- Sales Automation - Integrate LinkedIn messaging into your sales stack for streamlined B2B outreach
Key Capabilities
| Feature | Description |
|---|---|
| Send LinkedIn Messages | Programmatically send direct messages to connections via API |
| Get Recent Messages | Retrieve inbox conversations with pagination support |
| Conversation Details | Fetch complete message history, attachments, and reactions |
| Typing Indicators | Simulate natural typing behavior for authentic engagement |
Note: For basic message sending (direct or with group context), use the Send Message endpoint in LinkedIn Actions.
LinkedIn Messaging API Endpoints
Click on any endpoint below to view detailed documentation, parameters, example requests, and try it live in the interactive playground.
Get Recent LinkedIn Messages →
GET /linkedin/messaging/recent-messages
Retrieve recent LinkedIn messages and conversations via API. Returns inbox conversations with participant details, unread counts, and message previews for CRM integration and outreach tracking.
Get LinkedIn Conversation Details →
GET /linkedin/messaging/conversation-details
Fetch complete LinkedIn conversation history including all direct messages, sender profiles, attachments, and reactions. Essential for sales automation and lead engagement tracking.
Send Typing Indicator →
POST /linkedin/messaging/typing-indicator
Send a typing indicator to simulate natural conversation behavior. Creates authentic engagement patterns for automated LinkedIn messaging.
Send Message with Typing Indicator →
POST /linkedin/messaging/send-with-typing
Send a LinkedIn message with a typing indicator sent first. Mimics natural human behavior for existing conversations in your outreach sequences.
Send Message with Delivery Acknowledgment →
POST /linkedin/messaging/send-with-ack
Send a LinkedIn message and receive delivery acknowledgment confirmation. Useful for tracking message delivery status in your outreach campaigns.
Send Group Message with Typing Indicator →
POST /linkedin/messaging/send-group-with-typing
Send a message to a LinkedIn group conversation with a typing indicator. Creates natural engagement in group discussions.
Send Group Message with Delivery Acknowledgment →
POST /linkedin/messaging/send-group-with-ack
Send a message to a LinkedIn group conversation with delivery acknowledgment. Track message delivery in group conversations.
Check Email Support →
POST /linkedin/messaging/check-email-support
Check if a LinkedIn profile supports free email messaging (open profile). Useful for determining if InMail is required.
Mark Conversation as Seen →
POST /linkedin/messaging/mark-seen
Mark a LinkedIn conversation as seen/read. Useful for managing inbox status in automated workflows.
Mark All Messages as Read →
POST /linkedin/messaging/mark-all-read
Mark all LinkedIn messages as read. Clears all unread notifications.
Send Message →
POST /linkedin/messaging/send
Send a direct message to a LinkedIn user. A simpler alternative to the typing indicator variant.
Send Group Message →
POST /linkedin/messaging/send-group
Send a message in the context of a LinkedIn group. Allows messaging group members you're not connected with.
Use Cases
- Sales Teams - Automate LinkedIn prospecting and follow-up messages
- AI Agents - Build intelligent chatbots that engage leads on LinkedIn
- CRM Integration - Sync LinkedIn conversations with your customer database
- Recruitment - Scale candidate outreach with personalized messaging
- Marketing Automation - Nurture leads with multi-touch LinkedIn campaigns
💡 Pro Tip: Combine these endpoints with typing indicators for natural, human-like engagement that improves response rates in your automated outreach.
Get group members (legacy endpoint)
Legacy endpoint to retrieve members of a LinkedIn group. Supports multiple input formats: group URL, group URN, or group ID. Returns member profiles with filtering options for membership status and search. Consider using /groups/members or /groups/members-by-url for newer implementations.
Get recent messages
Retrieve recent LinkedIn messages/conversations for the authenticated account. Supports filtering by keywords and read status. Returns simplified conversation list with latest message preview.
