APILinkedIn Messaging
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.
POST
/messaging/mark-seenMark 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.
Authentication requiredMessaging
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/mark-seen' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"conversationUrn":"urn:li:example:123456"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
conversationUrn | string | Yes | LinkedIn conversation URN to mark as seen |
Example
{
"conversationUrn": "urn:li:example:123456"
}Responses
| Status | Description |
|---|---|
| 200 | Conversation marked as seen successfully |
Send group message with delivery acknowledgment
Send a LinkedIn message using group context while acknowledging delivery of previous messages. Useful for group-based conversations where you want to track message delivery.
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.
