---
title: "Adds a user to the project. Users must already be members of the organization to be added to a project."
method: POST
path: "/organization/projects/{project_id}/users"
tags: ["Projects"]
---

# Adds a user to the project. Users must already be members of the organization to be added to a project.

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

## Path parameters

- `project_id` string, required

## Request body

- ProjectUserCreateRequest
  - `user_id` string, nullable — The ID of the user.
  - `email` string, nullable — Email of the user to add.
  - `role` string, required — `owner` or `member`

## Response `200`

User added to project successfully.

- ProjectUser — Represents an individual user in a project.
  - `object` 'organization.project.user', required — The object type, which is always `organization.project.user`
  - `id` string, required — The identifier, which can be referenced in API endpoints
  - `name` string, nullable — The name of the user
  - `email` string, nullable — The email address of the user
  - `role` string, required — `owner` or `member`
  - `added_at` integer, required — The Unix timestamp (in seconds) of when the project was added.

## Other responses

- `400` — Error response for various conditions.

## Changes

- **2026-05-13** `74cbcf73838f` — 8 breaking, 6 info
  - removed the enum value `member` of the request property `role`
  - removed the enum value `owner` of the request property `role`
  - the response property `email` became optional for the status `200`
  - the response property `name` became optional for the status `200`
  - …10 more
- **2024-08-23** `5856f8b0c850` — 6 breaking, 3 warning, 9 info
  - request property `role` was restricted to a list of enum values
  - the request property `user_id` became required
  - request property `user_id` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the response property `error/code` became nullable for the status `400`
  - …14 more

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

---

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