---
title: "Add project group"
method: POST
path: "/organization/projects/{project_id}/groups"
tags: ["Project groups"]
---

# Add project group

`POST /organization/projects/{project_id}/groups`

Grants a group access to a project.

## Path parameters

- `project_id` string, required

## Request body

- InviteProjectGroupBody — Request payload for granting a group access to a project.
  - `group_id` string, required — Identifier of the group to add to the project.
  - `role` string, required — Identifier of the project role to grant to the group.

## Response `200`

Group granted access to the project successfully.

- ProjectGroup — Details about a group's membership in a project.
  - `object` 'project.group', required — Always `project.group`.
  - `project_id` string, required — Identifier of the project.
  - `group_id` string, required — Identifier of the group that has access to the project.
  - `group_name` string, required — Display name of the group.
  - `group_type` 'group' | 'tenant_group', required — The type of the group.
  - `created_at` integer, required — Unix timestamp (in seconds) when the group was granted project access.

## Changes

- **2026-05-21** `872ce068945f` — 2 warning
  - added the new `group` enum value to the `group_type` response property for the response status `200`
  - added the new `tenant_group` enum value to the `group_type` response property for the response status `200`
- **2026-05-01** `918e83711c91` — 1 info
  - added the required property `group_type` to the response with the `200` status
- **2026-04-29** `5b98524f8dee` — 1 breaking
  - the `created_at` response's property type/format changed from `integer`/`int64` to `integer`/`unixtime` for status `200`
- **2026-04-28** `fa32d6e7d961` — 1 info
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API

[Change history](https://skmtc.dev/openai/apis/openai-api/changes/organization/projects/:project_id/groups/post.md)

---

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