APILinkedIn Messaging

Get Conversation Details

Get detailed information about a specific conversation

GET/linkedin/messaging/conversation-details

Get Conversation Details

Get detailed information about a specific conversation

Authentication requiredLinkedIn Messaging

Code Examples

curl -X GET 'https://api.connectsafely.ai/linkedin/messaging/conversation-details' \
-H 'Authorization: Bearer <your_api_key>' \

Parameters

NameInRequiredTypeDescription
accountIdqueryNostringLinkedIn account ID (uses default if not provided)
profileIdqueryYesstringProfile ID
conversationUrnqueryYesstringConversation URN

Request Body

No request body.

Responses

StatusDescription
200Successful response
500Error response

200 Example

{
  "success": true,
  "accountId": "507f1f77bcf86cd799439011",
  "profileId": "john-doe-123",
  "conversationUrn": "urn:li:msg_conversation:...",
  "conversationDetails": {
    "messages": [
      {
        "messageUrn": "urn:li:message:...",
        "body": "Hello!",
        "sender": "urn:li:fsd_profile:...",
        "createdAt": "2024-01-15T10:30:00Z"
      }
    ]
  }
}

500 Example

{
  "success": false,
  "error": "Failed to get conversation details"
}