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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | Community group Id | |
| contactId | Yes | Contact Id of the community member | |
| locationId | Yes | Location Id |