Skip to main content
POST
Create Group

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
  • Create an organization-wide group: Omit manager_team_id.
  • Create a workspace-owned group: Supply manager_team_id. A workspace-scoped key must allow that workspace, must hold groups:manage (a full-access workspace key cannot), and may add only people as members.
  • Create a workspace-owned group as organization admin: The organization fallback requires a user identity; an organization API key cannot use it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
userIds
string[]
managerTeamId
string | null

When set, creates a workspace-scoped group managed by this workspace (seeded as the sole manager workspace, with a default all-members viewer entry). Unset creates an org-wide group.

scopedId
string | null

Response

200 - application/json

Success

data
data · object