Facebook Pixel
APILinkedIn Messaging

Mark a conversation as unread

Mark a conversation as unread on LinkedIn (source of truth) and locally. The account is resolved from the conversation, so no accountId is required. Other connected clients/tabs are notified via WebSocket.

PATCH/conversations/{conversationUrn}/mark-unread
Authentication requiredConversations

Code Examples

curl -X PATCH 'https://api.connectsafely.ai/linkedin/conversations/<conversationUrn>/mark-unread' \
-H 'Authorization: Bearer <your_api_key>'

Mark a conversation as unread on LinkedIn (source of truth) and locally. The account is resolved from the conversation, so no accountId is required. Other connected clients/tabs are notified via WebSocket.

Parameters

NameInRequiredTypeDescription
conversationUrnpathYesstringConversation URN (URL-encoded)

Request Body

No request body.

Responses

StatusDescription
200Marked as unread
401Unauthorized
404Conversation or account not found
500Server error

200 Response Parameters

NameTypeDescription
successboolean
conversationUrnstring

200 Example

{
  "success": true,
  "conversationUrn": "urn:li:example:123456"
}

401 Response Parameters

NameTypeDescription
errorstring

401 Example

{
  "error": "example_value"
}

404 Response Parameters

NameTypeDescription
errorstring

404 Example

{
  "error": "example_value"
}

500 Response Parameters

NameTypeDescription
errorstring

500 Example

{
  "error": "example_value"
}