# Membervault

MemberVault is a Relationship Marketing Platform that allows users to host courses, memberships, and other digital products in one place.

- **Category:** online courses
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 4
- **Triggers:** 0
- **Slug:** `MEMBERVAULT`
- **Version:** 20260223_00

## Tools

### Add User to Course

**Slug:** `MEMBERVAULT_ADD_USER`

Tool to add a user to a specified product. Use when enrolling a user into a course without duplication.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Email address of the user to add or grant access to. |
| `course_id` | integer | Yes | ID of the product (course) to grant access; use -1 to create a user without granting access to any course. |
| `last_name` | string | No | Optional last name of the user. |
| `first_name` | string | No | Optional first name of the user. |

#### 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 |

### Delete User

**Slug:** `MEMBERVAULT_DELETE_USER`

Tool to completely delete a user from the account, including all data, progress, and quiz answers (irreversible). Use when you need to permanently remove a user. Example: "Delete user with email user@example.com"

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Email address of the user to completely delete |

#### 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 Courses

**Slug:** `MEMBERVAULT_GET_COURSES`

Tool to retrieve all courses (products) in the MemberVault account. Use when you need to list available courses after setting up authentication.

#### 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 |

### Remove User from Course

**Slug:** `MEMBERVAULT_REMOVE_USER`

Tool to remove a user's access to a product (course). This simply removes access to the product without deleting the user from the account. Use when revoking course access.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Email address of the user to remove from product |
| `course_id` | integer | Yes | ID of the course/product to remove the user from |

#### 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 |
