Get conversation details
Retrieve detailed message history for a specific LinkedIn conversation. Supports pagination via deliveredAt timestamp to load older/newer messages. Returns full message content, sender info, and timestamps.
/messaging/conversation-detailsGet conversation details
Retrieve detailed message history for a specific LinkedIn conversation. Supports pagination via deliveredAt timestamp to load older/newer messages. Returns full message content, sender info, and timestamps.
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 to use. If not provided, uses the default account. |
profileId | query | No | string | Profile ID of conversation participant (optional) |
conversationUrn | query | Yes | string | LinkedIn conversation URN from recent-messages response |
deliveredAt | query | No | number | Timestamp (milliseconds) for pagination anchor point |
countBefore | query | No | number | Number of messages before deliveredAt timestamp |
countAfter | query | No | number | Number of messages after deliveredAt timestamp |
Request Body
No request body.
Responses
| Status | Description |
|---|---|
| 200 | Conversation details retrieved successfully |
Get recent messages
Retrieve recent LinkedIn messages/conversations for the authenticated account. Supports filtering by keywords and read status. Returns simplified conversation list with latest message preview.
Send typing indicator
Send a typing indicator to a LinkedIn conversation. Shows the recipient that you are typing a message. Useful for creating a more natural conversation experience before sending a message.
