Facebook Pixel
APILinkedIn Search

Get group details

Retrieve detailed information about a specific LinkedIn group including full description, rules, member count, activity level, and admin information.

POST/search/groups/details
Authentication requiredSearch

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/search/groups/details' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"groupId":"12345678"}'

Retrieve detailed information about a specific LinkedIn group including full description, rules, member count, activity level, and admin information.

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
groupIdstringYesLinkedIn group ID from search results or group page URL

Example

{
  "groupId": "12345678"
}

Responses

StatusDescription
200Group details retrieved successfully
400Bad Request - Missing required groupId parameter
401Unauthorized - Invalid or missing API key
500Internal Server Error - Failed to get LinkedIn credentials or group details

200 Response Parameters

NameTypeDescription
successboolean
groupobjectGroup details with member insights

200 Example

{
  "success": true,
  "group": {
    "memberInsights": [
      {
        "insight": "Attended Pune University",
        "count": 55
      },
      {
        "insight": "Are located in India",
        "count": 30295
      },
      {
        "insight": "Are in the Computer Software industry",
        "count": 14488
      }
    ],
    "totalInsights": 3
  }
}

400 Response Parameters

NameTypeDescription
successboolean
errorobject

400 Example

{
  "success": false,
  "error": {
    "issues": [
      {
        "code": "invalid_type",
        "expected": "string",
        "received": "undefined",
        "path": [
          "groupId"
        ],
        "message": "Required"
      }
    ],
    "name": "ZodError"
  }
}

401 Response Parameters

NameTypeDescription
errorstring

401 Example

{
  "error": "Unauthorized - Invalid credentials"
}

500 Response Parameters

NameTypeDescription
errorstring

500 Example

{
  "error": "Failed to get group details",
  "success": false
}