Skip to main content
POST
/
api
/
tenants
/
{tenant_id}
/
team
/
invite
{
  "email": "newmember@example.com",
  "role": "member"
}
{
  "success": true,
  "message": "Invitation sent successfully",
  "invitation": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "email": "newmember@example.com",
    "role": "member",
    "status": "pending",
    "sent_at": "2025-11-27T10:30:00Z"
  }
}
Invite a new team member to the tenant.
tenant_id
string
required
Tenant ID
email
string
required
Email address of the user to invite
role
string
required
Role to assign (e.g., member, admin)

Request Example

{
  "email": "newmember@example.com",
  "role": "member"
}

Success Response (201)

{
  "success": true,
  "message": "Invitation sent successfully",
  "invitation": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "email": "newmember@example.com",
    "role": "member",
    "status": "pending",
    "sent_at": "2025-11-27T10:30:00Z"
  }
}