Get Conversation Messages
Messaging
Get Conversation Messages
Retrieve messages from a specific LinkedIn conversation
POST
Get Conversation Messages
Get detailed messages from a LinkedIn conversation using either a LinkedIn profile URL or a direct conversation ID, including message content, timestamps, and sender information.
Credit Usage: 1 credit per 10 results (or fraction thereof). For example:
- 1-10 results = 1 credit
- 11-20 results = 2 credits
- 300 results = 30 credits
Header Parameters
Your API key
Body Parameters
URL of the LinkedIn profile to get conversation messages with. Required if
conversation_id is not provided.Direct conversation ID to retrieve messages from. Required if
linkedin_url is not provided.Number of messages per page
Timestamp of the last message for pagination. Omit for the first request to get the most recent messages.
Country code for proxy selection. Available: (US, UK, FR, DE, NL, IT, IL, CA, BR, ES, IN)
LinkedIn authentication cookie obtained from the login/verify process
Response
Request status (success/error)
Notes
- Two Access Methods: You can retrieve conversation messages using either:
- LinkedIn Profile URL: The API will first find the conversation ID associated with that profile
- Direct Conversation ID: Skip the profile lookup and access the conversation directly
- Parameter Requirements: Either
linkedin_urlORconversation_idmust be provided (not both required) - Messages are returned in chronological order (most recent first)
- The
timestampis in milliseconds since epoch - Cursor-based Pagination:
- First request: Omit the
cursorparameter to get the most recent messages - Subsequent requests: Pass the
next_cursorvalue from the previous response as thecursorparameter - End of results: When
has_next_pageisfalse, there are no more messages to fetch - Use
total_resultsto control how many messages are returned per request (default: 10)
- First request: Omit the
- When using
linkedin_url, the API first retrieves the conversation ID for the specified profile, then fetches the messages - When using
conversation_id, the API directly fetches messages from that conversation - This endpoint can only retrieve messages with profiles you’ve already had a conversation with
- Historical messages may be limited by LinkedIn’s data retention policies
- The
profile_urlfield is only included in the response when it was provided in the request