APILinkedIn Messaging
Mark all messages as read
Mark all LinkedIn messages as read for the authenticated account. Clears all unread indicators in the inbox. Useful for bulk inbox management.
POST
/messaging/mark-all-readMark all messages as read
Mark all LinkedIn messages as read for the authenticated account. Clears all unread indicators in the inbox. Useful for bulk inbox management.
Authentication requiredMessaging
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/mark-all-read' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"accountId":"acc_12345"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
Example
{
"accountId": "acc_12345"
}Responses
| Status | Description |
|---|---|
| 200 | All messages marked as read successfully |
Mark conversation as seen
Mark a LinkedIn conversation as seen/read. This updates the read status for the sender and removes the unread indicator. Useful for managing inbox state programmatically.
Check if profile supports email messaging
Check whether a LinkedIn profile has email messaging enabled. Some LinkedIn members allow direct email contact through their profile. Use this to verify before attempting email outreach.
