Get group members by group ID
Retrieve members of a LinkedIn group by its ID. Returns profile information for group members. Useful for lead generation, networking, and community analysis. Requires membership in the group to access member list.
/groups/membersGet group members by group ID
Retrieve members of a LinkedIn group by its ID. Returns profile information for group members. Useful for lead generation, networking, and community analysis. Requires membership in the group to access member list.
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/groups/members' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"groupId":"12345678"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
groupId | string | Yes | LinkedIn group ID (numeric ID from group URL) |
count | number | No | Number of members to return per page |
start | number | No | Pagination offset (0-indexed) |
Example
{
"groupId": "12345678"
}Responses
| Status | Description |
|---|---|
| 200 | Group members retrieved successfully |
LinkedIn Groups API
Fetch and manage LinkedIn group members via API. Extract member profiles, filter by criteria, and build targeted group engagement workflows.
Get group members by group URL
Retrieve members of a LinkedIn group using the group URL. Automatically extracts the group ID from the URL. Convenient alternative to /groups/members when you have the full URL instead of just the ID.
