---
title: "Add group user"
method: POST
path: "/organization/groups/{group_id}/users"
tags: ["Group users"]
---

# Add group user

`POST /organization/groups/{group_id}/users`

## Request

- Base URL: `https://api.openai.com/v1`
- URL: `https://api.openai.com/v1/organization/groups/{group_id}/users`
- Auth: HTTP bearer

Adds a user to a group.

## Path parameters

- `group_id` string, required

## Request body

- CreateGroupUserBody: Request payload for adding a user to a group.
  - `user_id` string, required: Identifier of the user to add to the group.

## Response `200`

User added to the group successfully.

- GroupUserAssignment: Confirmation payload returned after adding a user to a group.
  - `object` 'group.user', required: Always `group.user`.
  - `user_id` string, required: Identifier of the user that was added.
  - `group_id` string, required: Identifier of the group the user was added to.

## Other responses

- `400`: The request contains invalid parameters or an invalid body.
- `403`: The caller lacks the required permissions or is not using an admin API key.
- `404`: The group or user was not found in the organization, or this endpoint is unavailable.
- `409`: The request conflicts with the current state of the group.
- `429`: The request was rejected because a rate limit was exceeded.

## Changes

- **2026-10-06** `487892d3954e`: 5 info
  - added the optional property `error/anyOf[#/components/schemas/Error]/misalignment/review_target` to the response with the `403` status
  - added the optional property `error/misalignment/review_target` to the response with the `400` status
  - added the optional property `error/misalignment/review_target` to the response with the `404` status
  - added the optional property `error/misalignment/review_target` to the response with the `409` status
  - …1 more
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/organization/groups/:group_id/users/post.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
