Get LinkedIn message thread
TL;DR
About
A candidate's salary answer, a warm intro from a former colleague: on LinkedIn that stuff sits in DMs, not email. Give it the URL of one conversation and you get the messages LinkedIn loads with it, oldest first, plus sender names and the other people in the chat when it is one of your recent conversations. On a recruiter's Monday, list_inbox with unreadOnly and a sinceIso of Saturday turns up nine conversations from the weekend, get_thread reads each one, and an agent copies the salary figure into the ATS and drafts the reply for send_message. That routine has two catches. LinkedIn treats opening a conversation as reading it, so those nine lose their unread badge, and mark_conversation_unread puts the badge back on any you still owe an answer. You also get only the first batch LinkedIn loads, so a two-year back-and-forth ends wherever that batch ends. If you meant the comment thread under a post, that is get_post_comments.
Input
threadUrl requiredA LinkedIn /messaging/thread/<id>/ URL, as linkedin.com/list_inbox returns it.
cursor optionalnextCursor from the previous page, to read the 20 messages before it. Omit for the newest 20.
Output
messages requiredthreadId requiredthreadUrl requirednextCursor requiredPass as cursor for the 20 older messages; null when the conversation starts on this page.
participants requiredtitle optionalgroupChat optionalExample output
Shape only: placeholder values generated from the output schema, not a real run.
{
"title": "Example",
"messages": [
{
"at": "2026-01-15T09:30:00Z",
"id": "abc123",
"from": {
"kind": "…",
"name": "Example",
"distance": "…",
"profileUrl": "https://example.com/item/123"
},
"text": "…",
"subject": "…",
"fromSelf": true,
"attachments": [
{
"url": "https://example.com/item/123",
"name": "Example",
"text": "…",
"type": "…"
}
]
}
],
"threadId": "abc123",
"groupChat": true,
"threadUrl": "https://example.com/item/123",
"nextCursor": "…",
"participants": [
{
"kind": "…",
"name": "Example",
"distance": "…",
"profileUrl": "https://example.com/item/123"
}
]
}