## GetOrganizationInviteSummary `organizations.invites.get_summary(InviteGetSummaryParams**kwargs) -> InviteGetSummaryResponse` **post** `/gitpod.v1.OrganizationService/GetOrganizationInviteSummary` Retrieves organization details and membership info based on an invite link. Use this method to: - Preview organization details before joining - Validate invite link authenticity - Check organization size and activity - View team information before accepting ### Examples - Get invite summary: Retrieves organization information from an invite. ```yaml inviteId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" ``` ### Parameters - `invite_id: str` ### Returns - `class InviteGetSummaryResponse: …` - `organization_id: str` - `organization_member_count: Optional[int]` - `organization_name: Optional[str]` ### Example ```python import os from gitpod import Gitpod client = Gitpod( bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted ) response = client.organizations.invites.get_summary( invite_id="d2c94c27-3b76-4a42-b88c-95a85e392c68", ) print(response.organization_id) ``` #### Response ```json { "organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", "organizationMemberCount": 0, "organizationName": "organizationName" } ```