---
title: "Invite a member"
method: PUT
path: "/projects/{projectId}/studies/{studyId}/members"
tags: ["Studies"]
---

# Invite a member

`PUT /projects/{projectId}/studies/{studyId}/members`

Upsert by email, so re-inviting somebody is not an error. Only meaningful while `mode` is `invited_only`.

## Request body

- StudyMemberRequest — UPSERT by email, so re-inviting somebody is not an error.
  - `email` string, required
  - `sendInviteEmail` boolean — OFF by default: adding somebody quietly is not the same as inviting them.

## Response `200`

The member list was updated.

- StudyMemberUpserted — Receipt for an invite. Documented as the study metadata object before the rename, which it never was.
  - `studyId` string, required
  - `projectId` string, required
  - `email` string, email, required
  - `memberId` string
  - `invited` boolean

## Other responses

- `400` — Malformed body or parameters.
- `401` — Missing, invalid, revoked, or orphaned key (`UNAUTHORIZED`) — or the **target MCP server** needs an OAuth grant (`OAUTH_REQUIRED`), which is a property of the server, not your key.
- `403` — Key is valid but not allowed to do this.
- `404` — Unknown project, server, or resource.
- `429` — Per-key rate limit exceeded (60 requests/minute sustained, bursts up to 10). Honor `Retry-After` and back off with jitter.
- `500` — Something failed on MCPJam's side.

## Changes

- **2026-09-22** `561e4fd0dfa2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mcpjam/apis/mcpjam-api/changes/projects/:projectId/studies/:studyId/members/put.md)

---

[API](https://skmtc.dev/mcpjam/apis/mcpjam-api.md) · [All operations](https://skmtc.dev/mcpjam/apis/mcpjam-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mcpjam/apis/mcpjam-api/revisions/561e4fd0dfa2?raw)
