Facebook Pixel
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.

Deprecated: Will be moved to /conversations API.

POST/messaging/mark-seen
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:msg_conversation:(urn:li:fsd_profile:ACoAAATPlQ0Bc8wdg-Iy8wZgEDuSdIVWJiE1Aio,2-NzkzMDFlNzAtZjU2OS00MjIwLWE2ZDctYzZkMWE1ZDljZDAyXzEwMA==)"}'

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.

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
conversationUrnstringYesLinkedIn conversation URN to mark as seen

Example

{
  "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAATPlQ0Bc8wdg-Iy8wZgEDuSdIVWJiE1Aio,2-NzkzMDFlNzAtZjU2OS00MjIwLWE2ZDctYzZkMWE1ZDljZDAyXzEwMA==)"
}

Responses

StatusDescription
200Conversation marked as seen successfully
400Bad request - Missing required parameter
401Unauthorized - Invalid or missing API key
500Server error or failed to mark conversation

200 Response Parameters

NameTypeDescription
successboolean
accountIdstring
conversationUrnstring
messagestring

200 Example

{
  "success": true,
  "accountId": "696ce9e780e0483585e4e553",
  "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAATPlQ0Bc8wdg-Iy8wZgEDuSdIVWJiE1Aio,2-NzkzMDFlNzAtZjU2OS00MjIwLWE2ZDctYzZkMWE1ZDljZDAyXzEwMA==)",
  "message": "Conversation marked as seen successfully"
}

400 Response Parameters

NameTypeDescription
successboolean
errorobject

400 Example

{
  "success": false,
  "error": "conversationUrn is required"
}

401 Example

{
  "error": "Unauthorized - Invalid credentials"
}

500 Example

{
  "success": false,
  "accountId": "696ce9e780e0483585e4e553",
  "conversationUrn": "urn:li:msg_conversation:...",
  "message": "Failed to mark conversation as seen"
}