---
title: "Creates a new group. Restricted to admins only"
method: POST
path: "/workspaces/{workspace_domain}/groups"
tags: ["Group API"]
---

# Creates a new group. Restricted to admins only

`POST /workspaces/{workspace_domain}/groups`

## Path parameters

- `workspace_domain` string, required

## Request body

- AddGroupRequest
  - `name` string, required — The name of the group
  - `auto_assign_to_new_projects` boolean — Whether to automatically assign group members to new projects
  - `allow_add_new_projects` boolean — Whether group members are allowed to add new projects
  - `allow_add_new_domains_on_owner_behalf` boolean — Whether group members are allowed to buy new domains on behalf of the workspace owner
  - `auto_assign_permission_set_id` integer — The ID of the permission set to automatically assign to new project members
  - `note` string — Note for this resource
  - `agent_note` string — YAML note for AI agents operating on this resource

## Response `200`

- GroupView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `id` integer — The ID of the group
  - `name` string — The name of the group
  - `auto_assign_to_new_projects` boolean — Whether to automatically assign group members to new projects
  - `allow_add_new_projects` boolean — Whether group members are allowed to add new projects
  - `allow_add_new_domains_on_owner_behalf` boolean — Whether group members are allowed to buy new domains on behalf of the workspace owner
  - `auto_assign_permission_set_id` integer — The ID of the permission set to automatically assign to new project members
  - `note` string — Note for this resource
  - `agent_note` string — YAML note for AI agents operating on this resource

## Changes

- **2026-08-25** `fa785a68f09d` — 2 info
  - the security scope `GROUP_WRITE` was added to the endpoint's security scheme `oauth2`
  - the security scope `WORKSPACE` was removed from the endpoint's security scheme `oauth2`
- **2026-08-04** `2426d67c249a` — 2 warning, 4 info
  - removed the request property `description`
  - removed the optional property `description` from the response with the `200` status
  - added the new optional request property `agent_note`
  - added the new optional request property `note`
  - …2 more

[Change history](https://skmtc.dev/buddy/apis/buddy-api/changes/workspaces/:workspace_domain/groups/post.md)

---

[API](https://skmtc.dev/buddy/apis/buddy-api.md) · [All operations](https://skmtc.dev/buddy/apis/buddy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/buddy/buddy-api/revisions/fa785a68f09d/schema)
