---
title: "Add a member to a project"
method: PUT
path: "/v1/projects/{projectId}/members/{memberId}"
---

# Add a member to a project

`PUT /v1/projects/{projectId}/members/{memberId}`

## Request

- Base URL: `https://docs.greatwait.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.greatwait.dev/v1/projects/{projectId}/members/{memberId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer and API key in header `Greatwait-Environment` and API key in header `Greatwait-Project`

A current administrator adds another organization member to an owned project. Foreign members and projects are indistinguishable from missing ones. No self addition.

## Path parameters

- `projectId` string, required
- `memberId` string, required

## Headers

- `Idempotency-Key` string, required

## Request body

- object

## Response `200`

Add a member to a project

- object
  - `completed` true, required
  - `id` union, required
    - string
    - string
  - `project` string

## Other responses

- `400`: Problem document. Possible codes at this status: invalid_request.
- `401`: Problem document. Possible codes at this status: authentication_required, credential_expired, credential_revoked.
- `403`: Problem document. Possible codes at this status: scope_missing.
- `404`: Problem document. Possible codes at this status: not_found.
- `409`: Problem document. Possible codes at this status: idempotency_key_reused, project_archived, state_conflict.
- `429`: Problem document. Possible codes at this status: rate_limited.
- `503`: Problem document. Possible codes at this status: capability_not_configured, service_unavailable.

---

[API](https://skmtc.dev/greatwait/apis/greatwait-v1.md) · [All operations](https://skmtc.dev/greatwait/apis/greatwait-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/greatwait/apis/greatwait-v1/revisions/6855bce23e72?raw)
