## Create group `groups.create(GroupCreateParams**kwargs) -> GroupResponse` **post** `/v1/groups` Creates a new group scoped to the authenticated organization. ### Parameters - `external_reference_id: str` - `name: str` ### Returns - `class GroupResponse: …` Response containing a single group resource. - `data: Group` - `id: str` Prefixed group identifier (`grp_`). - `created_at: Optional[datetime]` Group creation timestamp (ISO 8601, UTC). - `external_reference_id: str` Stable identifier for this group in the integrator's own system. - `name: str` Human-readable group name. - `organization_id: str` Prefixed organization identifier (`org_`). - `updated_at: Optional[datetime]` Last-update timestamp (ISO 8601, UTC). ### Example ```python import os from vitable_connect import VitableConnect client = VitableConnect( api_key=os.environ.get("VITABLE_CONNECT_API_KEY"), # This is the default and can be omitted ) group_response = client.groups.create( external_reference_id="mol_seg_001", name="Tier 1", ) print(group_response.data) ``` #### Response ```json { "data": { "id": "grp_abc123def456", "organization_id": "org_abc123def456", "name": "Tier 1", "external_reference_id": "mol_seg_001", "created_at": "2026-01-15T10:30:00Z", "updated_at": "2026-01-15T10:30:00Z" } } ```