# Lessonspace

Lessonspace is an online collaborative classroom platform that enables educators and students to engage in interactive learning sessions with features like video conferencing, whiteboards, and resource sharing.

- **Category:** education
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 4
- **Triggers:** 0
- **Slug:** `LESSONSPACE`
- **Version:** 20260211_00

## Tools

### Create Demo Space

**Slug:** `LESSONSPACE_CREATE_DEMO_SPACE`

Tool to create a transient demo space for embedding in an iframe. Use when you need a temporary environment to test Lessonspace features.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Organisation Details

**Slug:** `LESSONSPACE_GET_ORGANISATION_DETAILS`

Tool to retrieve organisation details, including ID, plan, and usage stats. Use after authenticating with your organisation token.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Organisation Session List

**Slug:** `LESSONSPACE_GET_ORGANISATION_SESSION_LIST`

Tool to list sessions of an organisation. Use after you have the organisation ID to fetch paginated session records.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for paginated results, must be >= 1 |
| `search` | string | No | Filter sessions by ID, title, or user |
| `ordering` | string | No | Sort field, prefix with '-' for descending (e.g., '-created') |
| `page_size` | integer | No | Number of sessions per page, must be >= 1 |
| `organisation` | string | Yes | Unique identifier of the organisation |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Launch Space

**Slug:** `LESSONSPACE_LAUNCH_SPACE`

Tool to launch a Lessonspace space. Use after determining user ID, role, and space ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `exp` | integer | No | Session expiration in seconds (non-negative). |
| `name` | string | No | Display name for the user. |
| `role` | string ("teacher" | "student") | Yes | Role of the user in the space. |
| `avatar` | string | No | URL to the user's avatar image. |
| `config` | object | No | Advanced space configuration options as a JSON object. |
| `user_id` | string | Yes | Unique identifier for the user. |
| `language` | string | No | IETF language tag for the session locale. |
| `space_id` | string | Yes | Identifier of the space to launch. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
