Skip to main content
POST
Invite workspace member

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.

Path Parameters

workspaceId
string<uuid>
required

Body

application/json
email
string<email>
required
role
enum<string>
default:member
Available options:
admin,
member,
viewer

Response

201 - application/json

Invitation email sent. Membership is created only after the invited user accepts.

invitation
object
required