Get Conversation Messages
Retrieve messages from a specific LinkedIn conversation
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 to retrieve (used when not in pagination mode)
First page to fetch when using pagination mode (default: 1)
Last page to fetch when using pagination mode (default: same as start_page)
Country code for proxy selection. Available: (US,UK,FR)
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_url
ORconversation_id
must be provided (not both required) - Messages are returned in chronological order (recent first)
- The
timestamp
is in milliseconds since epoch - Pagination Mode vs. Total Results Mode:
- Total Results Mode: Use the
total_results
parameter to specify how many messages you want (default) - Pagination Mode: Use
start_page
andend_page
parameters to fetch specific pages of results - Credit usage in pagination mode is based on the number of pages fetched (1 credit per page)
- When using pagination mode,
total_results
parameter is ignored
- Total Results Mode: Use the
- Messages per page is fixed at 10
- 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_url
field is only included in the response when it was provided in the request