We are evaluating two sales engagement tools before Q1. What did your team pick?

LinkedIn closed its open Groups API in 2017. Search groups, read their latest posts, publish in them and list their members from your users' own LinkedIn accounts.
We are evaluating two sales engagement tools before Q1. What did your team pick?
Lessons from our CRM migration: keep the field mapping in one sheet.
groups/{id}/posts
POSTsearch/groups
200 OK
LinkedIn shut its open Groups API down in 2017, and its current Groups APIs are reserved for approved partners. The route that works for any product today is a connected account: each user links their own LinkedIn account, and your app searches, reads and posts in the groups that account belongs to, on behalf of the authenticated user.
LinkedIn groups are not the group conversations of the messaging API: for chats, see the LinkedIn messaging API.
Read and post in LinkedIn groups in three steps
Connect the accountYour user links their own LinkedIn account through Hosted Auth. No LinkedIn partner program required: every call runs on behalf of the authenticated member.
Read group postsSend GET /v2/{account_id}/groups/{group_id}/posts with your key in X-API-KEY for a group the account belongs to.
Publish in the groupSend POST /v2/{account_id}/groups/{group_id}/posts with a text and optional attachments, as the member.
Not an open one. LinkedIn shut down its public Groups API in 2017. The Groups APIs documented today on Microsoft Learn sit in LinkedIn's partner programs, which require explicit approval from LinkedIn.
Older guides present the rw_groups scope as open to any app. It is not, which leaves three routes.
| Criteria | LinkedIn Groups APIs (partners) | Public data APIs | Connected account (Unipile) |
|---|---|---|---|
| Who gets access | Approved LinkedIn partners | Any customer of the vendor | Your users, each with their own LinkedIn account |
| Groups covered | Partner program scope | Public information only | Groups the account belongs to |
| Read group posts | Partner scope only | Depends on the vendor | Yes, newest first, with a cursor |
| Publish in a group | Partner scope only | No | Yes, as the connected member |
Source: Microsoft Learn, Getting access to LinkedIn APIs. Last verified: November 23, 2026.
Groups are where buyers compare vendors and experts answer questions. Four products that use them through their users' accounts.
A sales tool flags posts in its user's industry groups where a company describes a project.
Reps join the conversation while it is fresh.
A recruiting tool shows which members of a group share real expertise.
Candidates found through their work, not their keywords.
Asked about revenue forecasting tools in SaaS Finance CircleYesterday · 7 comments
Member of 2 groups your rep also belongs toSaaS Finance Circle, Nordic CFO Forum
The CRM shows what a contact recently posted in groups the rep also belongs to.
A relevant first message, not a generic one.
Our December webinar replay is live. Which topic should we cover next?
A community manager publishes in the company's group and reads replies in one tool.
The group stays active without switching tabs.
Every route sits under /v2/{account_id} and acts as the connected member. Group administration stays on linkedin.com.
| Action | Route | On LinkedIn |
|---|---|---|
| Search groups | POST /search/groups | Keywords only |
| Retrieve a group | GET /groups/{group_id} | Name, description, members count |
| Join a group | POST /groups/{group_id}/join | pending if admins approve members |
| List members | GET /groups/{group_id}/participants | For members of the group |
| Invite a relation | POST /groups/{group_id}/participants | Invitation to accept |
| List posts | GET /groups/{group_id}/posts | Newest first |
| Publish a post | POST /groups/{group_id}/posts | As the account itself |
| Create a group | POST /groups | Private by default |
| Update, leave, admins, join requests, invite link, subgroups | Groups routes | 501, not supported |
POST /search/groupsGET /groups/{group_id}POST /groups/{group_id}/joinGET /groups/{group_id}/participantsPOST /groups/{group_id}/participantsGET /groups/{group_id}/postsPOST /groups/{group_id}/postsPOST /groupsThe Groups API covers LinkedIn groups, the communities with a feed of posts. Group conversations in the LinkedIn inbox are chats of the Messaging API, documented separately.
Search groups by keywords, the way linkedin.com does, then join the ones your user wants to follow. Each result says whether the account is already a member.
POST /search/groups with keywords. LinkedIn's group search has no filter: is_member and is_public get a 400.membership_status: member, pending or not_member.GET /groups/{group_id} returns name, description, participants_count and is_admin. An unknown group gets a 404.POST /groups/{group_id}/join with the numeric ID of linkedin.com/groups/{ID}. A group that approves its members answers pending.search/groups200 OKconst BASE = `https://api.unipile.com/v2/${ACCOUNT_ID}`;
const headers = { "X-API-KEY": process.env.UNIPILE_API_KEY, "content-type": "application/json" };
// 1. Search LinkedIn groups by keywords
const res = await fetch(`${BASE}/search/groups?limit=10`, {
method: "POST", headers,
body: JSON.stringify({ keywords: "revenue operations" })
});
const { data } = await res.json();
// 2. Join the first one the account is not in yet
const group = data.find(g => g.membership_status === "not_member");
await fetch(`${BASE}/groups/${group.id}/join`, { method: "POST", headers });
import os, requests
BASE = f"https://api.unipile.com/v2/{ACCOUNT_ID}"
headers = {"X-API-KEY": os.environ["UNIPILE_API_KEY"]}
# 1. Search LinkedIn groups by keywords
groups = requests.post(f"{BASE}/search/groups", headers=headers, params={"limit": 10},
json={"keywords": "revenue operations"}).json()["data"]
# 2. Join the first one the account is not in yet
group = next(g for g in groups if g["membership_status"] == "not_member")
requests.post(f"{BASE}/groups/{group['id']}/join", headers=headers)
# 1. Search LinkedIn groups by keywords
curl --request POST \
--url "https://api.unipile.com/v2/{ACCOUNT_ID}/search/groups?limit=10" \
--header "X-API-KEY: {YOUR_API_KEY}" \
--header "content-type: application/json" \
--data '{ "keywords": "revenue operations" }'
# 2. Join one of them (numeric ID from linkedin.com/groups/{ID})
curl --request POST \
--url "https://api.unipile.com/v2/{ACCOUNT_ID}/groups/{GROUP_ID}/join" \
--header "X-API-KEY: {YOUR_API_KEY}"
GET /groups/{group_id}/posts returns a group's posts, newest first. A group post is a regular LinkedIn post: its author is the member who posted it, and its ID works with every Posts method.
Call the posts list on a schedule, a few times an hour.
Store the newest post ID and stop when you reach it again.
Match topics, notify the user or attach the post to a CRM record.
LinkedIn sends no event for new group posts: monitoring comes from scheduled reads like the loop above, at a reasonable pace.
// Run on a schedule for each group your user follows
async function checkGroup(groupId, lastSeenId) {
const res = await fetch(`${BASE}/groups/${groupId}/posts?limit=10`, { headers });
const { data } = await res.json(); // newest first
const fresh = [];
for (const post of data) {
if (post.id === lastSeenId) break; // stop at the last post you saw
fresh.push(post);
}
const hits = fresh.filter(p => /evaluating|migration/i.test(p.text));
return { hits, lastSeenId: data[0]?.id ?? lastSeenId };
}
# Run on a schedule for each group your user follows
import re
def check_group(group_id, last_seen_id):
posts = requests.get(f"{BASE}/groups/{group_id}/posts", headers=headers,
params={"limit": 10}).json()["data"] # newest first
fresh = []
for post in posts:
if post["id"] == last_seen_id: # stop at the last post you saw
break
fresh.append(post)
hits = [p for p in fresh if re.search(r"evaluating|migration", p["text"], re.I)]
return hits, (posts[0]["id"] if posts else last_seen_id)
curl --request GET \
--url "https://api.unipile.com/v2/{ACCOUNT_ID}/groups/{GROUP_ID}/posts?limit=10" \
--header "X-API-KEY: {YOUR_API_KEY}"
# Response (shortened)
{
"data": [
{ "object": "Post", "id": "{POST_ID}",
"text": "We are evaluating two sales engagement tools...",
"created_at": "2026-11-23T09:41:00.000Z",
"author": { ... } }
],
"next_cursor": "..."
}
Read a post's comments with the Posts methods. LinkedIn returns the comments of group posts to members only. A non-member gets an empty list.
To follow a topic across all of LinkedIn rather than inside one group, use the posts search: see how to get LinkedIn posts with an API.
POST /groups/{group_id}/posts publishes a post with text and optional attachments. The post is published by the account itself: publishing as a company page is not supported.
// Publish in a group the account belongs to
const res = await fetch(`${BASE}/groups/${GROUP_ID}/posts`, {
method: "POST", headers,
body: JSON.stringify({
text: "Our December webinar replay is live. Which topic should we cover next?"
})
});
const post = await res.json(); // its ID works with comments and reactions
# Publish in a group the account belongs to
post = requests.post(
f"{BASE}/groups/{GROUP_ID}/posts", headers=headers,
json={"text": "Our December webinar replay is live. Which topic should we cover next?"},
).json() # its ID works with comments and reactions
curl --request POST \
--url "https://api.unipile.com/v2/{ACCOUNT_ID}/groups/{GROUP_ID}/posts" \
--header "X-API-KEY: {YOUR_API_KEY}" \
--header "content-type: application/json" \
--data '{ "text": "Our December webinar replay is live. Which topic should we cover next?" }'
List a group post's comments with the Posts methods.
Same calls as any LinkedIn post.
Remove your user's group post with the Posts delete method.
Ship LinkedIn group features this week
Connect a LinkedIn account with Hosted Auth and call the Groups and Posts endpoints.
A member can list the group's members, invite relations and create new groups.
members of the group only200 OKGET /groups/{group_id}/participants returns the members with is_admin for owners and managers. Only a member can list them: anyone else gets a 403.POST /groups/{group_id}/participants with the user_id of a relation of the account. They join once they accept; inviting them again sends nothing new.POST /groups with name and description. It is private by default, public with is_public: true. LinkedIn refuses some names, such as one containing "LinkedIn", with a 400 that gives its reason.LinkedIn groups have no events. Creating events, inviting relations and listing attendees are covered in our LinkedIn Events API guide.
The routes you use for LinkedIn work for the other networks your users connect. Only what each network allows changes.
| Network | What /groups covers | Group posts |
|---|---|---|
| Groups: search, join, members, posts | Yes, read and publish | |
| Groups: search, join, members, posts | Yes, read and publish | |
| Communities: create, members, subgroups, invite links | Messages are chats, no posts | |
| Groups, channels and shared folders | Messages are chats, no posts |
Facebook groups are covered in our Facebook Groups API guide, WhatsApp communities in the WhatsApp Group API guide.
The connected account sees and does what its owner can on linkedin.com, nothing more.
Members and comments are returned to members only. Join first.
Group search takes keywords, no filters.
A few reads an hour, only on groups your user picked.
Group rules and LinkedIn's User Agreement apply to every post.
Every call runs on behalf of the authenticated user, with the groups and posts that user can already see on linkedin.com.
Unipile is an independent technical intermediary. It is not affiliated with, endorsed by, or sponsored by LinkedIn.
Which groups to follow, what to publish and how often is a customer-side decision, made within LinkedIn's terms.
Product behavior from the Unipile LinkedIn Groups documentation. Last verified: November 23, 2026.
Start building on LinkedIn groups
Connect your users' LinkedIn accounts and turn group posts into signals, CRM context or community updates. Messages and profiles work the same way with the Unipile LinkedIn API.
Groups are one part of the picture. See the complete LinkedIn API integration guide for messaging, invitations, profiles, posts and search.
Quick answers on the closed Groups API, group posts, publishing and group lists.
Not as an open API. LinkedIn shut down its public Groups API in 2017, and the Groups APIs it documents today are reserved for approved partners. With a connected account, each user links their own LinkedIn account and your app works with the groups that account belongs to.
With Unipile, call GET /v2/{account_id}/groups/{group_id}/posts from an account that belongs to the group. Posts come back newest first, with a cursor for the next page. LinkedIn sends no event for new group posts, so monitoring relies on scheduled reads.
Yes, as the connected member. POST /v2/{account_id}/groups/{group_id}/posts publishes a post with text and optional attachments in a group the account belongs to. Publishing as a company page is not supported. Comments and reactions use the regular Posts methods.
For the connected account, search groups with POST /v2/{account_id}/search/groups and keep the results whose membership_status is member. LinkedIn's group search takes keywords only: the is_member filter gets a 400. The groups of another member are not part of the Groups API.
No. Unipile is not affiliated with, endorsed by, or sponsored by LinkedIn. It is an independent technical intermediary: every call runs on behalf of the authenticated member who connected their own LinkedIn account, within the groups that member can already see.
Still have questions? Our team is here to help.
Talk to an expert