{
"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"
}
}
Tenant Management
Invite Team Member
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.
string
required
Tenant ID
string
required
Email address of the user to invite
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"
}
}