Xentree Docs
My Xentree
My Xentree
  1. Documentation
  • Documentation
    • Introduction
    • Quickstart
    • Authentication
    • Conversations
    • Knowledge Base
    • Organizations
    • Profile & Analytics
    • Xentree English
    • Xentree Live
    • Errors and Limits
  • API Reference
    • Authentication
      • Register a new user
      • Log in and get an access token
      • Refresh an access token
      • Log out the current user
      • Get the current authenticated user
      • Update the current authenticated user
    • Conversations
      • List available AI providers
      • Generate an AI response
      • List conversations for the current user
      • Create a conversation
      • Get messages for a conversation
      • Search indexed user content
    • Knowledge Base
      • Search the knowledge base
    • Organizations
      • List organizations for the current user
      • Create an organization
      • Get organization details
      • Update organization details
      • Delete an organization
      • List organization members
      • Add a member to an organization
    • Profile & Analytics
      • Get my XP profile
      • Get a user's public profile
      • Get streak status
      • Get weekly XP activity
      • Get learning pulse (365-day heatmap)
      • Get daily quests
      • Get learning time analytics
    • Xentree English
      • List XEL modules with user progress
      • Get XEL module details
      • Submit a learning task response
      • Run AI evaluation for speaking or writing
      • Get the XEL dashboard overview
    • Xentree Live
      • Get remaining Xentree Live quota
      • Start a live session
      • Update an active live session heartbeat
      • End a live session
      • Update the user nickname used in Xentree Live
      • List live transcripts for the current user
      • Save live session transcripts
      • Get a single live transcript
    • Integrations
      • List active integrations for the current user
      • Start the Google Calendar OAuth flow
    • API Keys
      • List API keys
      • Create an API key
      • Delete an API key
  • Schemas
    • Error
    • TokenResponse
    • UserProfile
    • ChatRequest
    • ChatResponse
    • ConversationCreateRequest
    • ConversationResponse
    • KnowledgeSearchRequest
    • LiveStartSessionRequest
    • LiveSessionResponse
    • LiveQuotaResponse
    • TranscriptTurn
    • SaveLiveTranscriptsRequest
    • OrganizationCreateRequest
    • OrganizationResponse
    • MemberResponse
    • XELModuleSummary
    • XELTaskSubmissionRequest
    • APIKeyCreateRequest
    • XPProfileResponse
    • APIKeyResponse
    • PublicXPProfileResponse
    • StreakStatusResponse
    • WeeklyActivityResponse
    • LearningPulseDayEntry
    • LearningPulseResponse
    • QuestItem
    • QuestsResponse
    • LearningTimeAnalyticsResponse
  1. Documentation

Organizations

Xentree supports multi-tenant organization management for collaborative workspaces.

What you can do#

create and manage organizations
assign roles to members
invite or remove users
structure collaboration across teams

Authentication and scopes#

Organizations endpoints support both bearer and API key auth.
Recommended API key scopes:
organizations:read for listing organizations and members
organizations:write for create/update/delete and membership changes

Main endpoints#

Organizations#

POST /api/organizations
GET /api/organizations
GET /api/organizations/{org_id}
PATCH /api/organizations/{org_id}
DELETE /api/organizations/{org_id}

Members#

GET /api/organizations/{org_id}/members
POST /api/organizations/{org_id}/members
PATCH /api/organizations/{org_id}/members/{target_user_id}
PUT /api/organizations/{org_id}/members/{target_user_id}
DELETE /api/organizations/{org_id}/members/{target_user_id}

Role model#

Representative roles include:
administrator
billing_manager
team_manager
member

Example create organization request#

{
  "name": "Acme Learning",
  "slug": "acme-learning",
  "description": "Workspace for team learning and collaboration"
}

Access model#

Most organization endpoints require an authenticated user, and privileged actions require the appropriate organization role.
When using API keys, role and tenancy checks still apply after scope checks.
Modified at 2026-04-23 02:01:55
Previous
Knowledge Base
Next
Profile & Analytics
Built with