---
title: "Grants a group access to a project."
method: POST
path: "/organization/projects/{project_id}/groups"
tags: ["Project groups"]
---

# Grants a group access to a project.

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

## 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` string, required — The type of the group.
  - `created_at` integer, required — Unix timestamp (in seconds) when the group was granted project access.

---

[API](https://skmtc.net/openai/apis/openai-api-3.md) · [All operations](https://skmtc.net/openai/apis/openai-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api-3/versions/74cbcf73838f/schema)
