ghl_social_validate_community_user_membership
Validate whether a contact is an active Community group member with a publishing role, confirming a stored postAsUser remains valid before scheduling.
Instructions
Validate Community Member
Check whether a contact can publish in a Community group. isActive is true only when the contact is an active member holding a role — the same condition enforced when a post is published, so use this to confirm a stored postAsUser is still valid before scheduling.
groupId is the meta.groupId of a Community account from the Get Accounts API. contactId is the contactId of a member returned by the Get Community Members API.
Endpoint: GET /social-media-posting/{locationId}/community/groups/{groupId}/users/{contactId}/validate (Version header: v3; source: v3/social-planner-v3.json)
Requires a Sub-Account (location) token.
OAuth scopes: socialplanner/account.readonly
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>",
"groupId": "<groupId>",
"contactId": "<contactId>"
},
"name": "ghl_social_validate_community_user_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | Community group Id | |
| contactId | Yes | Contact Id of the community member | |
| locationId | Yes | Location Id |