curl --request GET \
--url https://api.harvest-api.com/linkedin/group \
--header 'X-API-Key: <api-key>'{
"element": {
"id": "<string>",
"linkedinUrl": "<string>",
"name": "<string>",
"memberCount": 123,
"logo": {
"url": "<string>",
"width": 123,
"height": 123,
"expiresAt": 123
},
"heroImage": {
"url": "<string>",
"width": 123,
"height": 123,
"expiresAt": 123
},
"description": "<string>",
"rules": "<string>",
"createdAt": {
"date": "2023-11-07T05:31:56Z",
"timestamp": 123
},
"groupPlusStatusActive": true,
"postApprovalEnabled": true,
"invitationLevel": "<string>",
"welcomeNote": "<string>",
"automatedWelcomeNoteEnabled": true,
"publicVisibility": true,
"admins": {
"totalCount": 123,
"profiles": [
{
"id": "<string>",
"linkedinUrl": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"headline": "<string>",
"picture": "<string>"
}
],
"text": "<string>"
}
},
"status": "<string>",
"error": "<string>",
"query": {
"url": "<string>"
}
}Get the LinkedIn group. Required at least one of the query parameters
curl --request GET \
--url https://api.harvest-api.com/linkedin/group \
--header 'X-API-Key: <api-key>'{
"element": {
"id": "<string>",
"linkedinUrl": "<string>",
"name": "<string>",
"memberCount": 123,
"logo": {
"url": "<string>",
"width": 123,
"height": 123,
"expiresAt": 123
},
"heroImage": {
"url": "<string>",
"width": 123,
"height": 123,
"expiresAt": 123
},
"description": "<string>",
"rules": "<string>",
"createdAt": {
"date": "2023-11-07T05:31:56Z",
"timestamp": 123
},
"groupPlusStatusActive": true,
"postApprovalEnabled": true,
"invitationLevel": "<string>",
"welcomeNote": "<string>",
"automatedWelcomeNoteEnabled": true,
"publicVisibility": true,
"admins": {
"totalCount": 123,
"profiles": [
{
"id": "<string>",
"linkedinUrl": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"headline": "<string>",
"picture": "<string>"
}
],
"text": "<string>"
}
},
"status": "<string>",
"error": "<string>",
"query": {
"url": "<string>"
}
}const params = new URLSearchParams({
url: 'https://www.linkedin.com/groups/1898033/', // by URL
groupId: '1898033', // by group ID alternatively
});
fetch(`https://api.harvest-api.com/linkedin/group?${params.toString()}`, {
headers: { 'X-API-Key': '<api-key>' },
})
.then((response) => response.json())
.then((data) => console.log(data));
URL of the LinkedIn group (optional)
ID of the LinkedIn group (optional)
Group profile response
Show child attributes
Unique identifier for the LinkedIn group.
URL of the LinkedIn group.
Name of the LinkedIn group.
Number of members in the group.
Details about the group's hero image.
Description of the LinkedIn group.
Rules of the LinkedIn group.
Indicates if Group Plus status is active.
Indicates if post approval is enabled for the group.
Level of invitation required for the group (e.g., 'Anyone', 'ByInvitation').
Welcome note for new members.
Indicates if automated welcome note is enabled.
Indicates if the group is publicly visible.
Information about the group administrators.
Show child attributes
Total count of administrators.
List of admin profiles.
Show child attributes
Unique identifier for the admin profile.
URL of the admin's LinkedIn profile.
First name of the admin.
Last name of the admin.
Headline of the admin's LinkedIn profile.
URL of the admin's profile picture.
Text representation of administrators (e.g., "John Doe and 2 others").