Skip to main content
PUT
Invite a member

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

scenarioId
string
required

Scenario ID, as returned by publishing an environment or by the project's scenario reads.

Body

application/json

UPSERT by email, so re-inviting somebody is not an error.

email
string
required
Maximum string length: 320
sendInviteEmail
boolean

OFF by default: adding somebody quietly is not the same as inviting them.

Response

The member list was updated.

Scenario metadata after an update. Deliberately WITHOUT accessVersion: a mode change bumps it upstream, but the envelope this route re-reads does not carry the new value — reporting a stale one would document a revocation signal the response cannot deliver. The publish response carries the real one.

id
string
required
projectId
string
required
name
string | null
required
description
string | null
required
mode
enum<string> | null
required
Available options:
project_members,
invited_only,
anyone_with_link,
null