Skip to main content
POST
/
projects
/
{projectId}
/
members
/
invite
curl -X POST http://localhost:3000/api/v1/projects/clxyz456/members/invite \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"email": "jane@example.com", "role": "EDITOR"}'
{
  "id": "clmem001",
  "userId": "cljane001",
  "projectId": "clxyz456",
  "role": "EDITOR"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexusmission.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

projectId
string
required
Project ID.

Body

email
string
required
Email of the user to invite.
role
string
Role to assign: VIEWER, EDITOR, or ADMIN. Defaults to VIEWER.
curl -X POST http://localhost:3000/api/v1/projects/clxyz456/members/invite \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"email": "jane@example.com", "role": "EDITOR"}'
{
  "id": "clmem001",
  "userId": "cljane001",
  "projectId": "clxyz456",
  "role": "EDITOR"
}