APILinkedIn Messaging
Get Conversation Details
Get detailed information about a specific conversation
GET
/linkedin/messaging/conversation-detailsGet 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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
accountId | query | No | string | LinkedIn account ID (uses default if not provided) |
profileId | query | Yes | string | Profile ID |
conversationUrn | query | Yes | string | Conversation URN |
Request Body
No request body.
Responses
| Status | Description |
|---|---|
| 200 | Successful response |
| 500 | Error 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"
}