Skip to content

Tools · Courses

MCP tools for courses: listing and viewing courses with their modules and lessons, building a whole course with the product that sells it, editing and deleting the course, adding, editing, moving, reordering and deleting modules and lessons, seeing the students, the A single course mode, and the student's side: enrollment and progress.

Building and maintaining courses: a whole course in one call (space, modules, lessons with their content and the sales product), the cover and the status, and then the modules and lessons: adding, renaming, reordering, moving a lesson to another module and deleting. Students enroll and mark their progress through the conversation.

Each tool carries a badge: Read-only changes nothing, Changes creates or changes something right away, and Asks to confirm only acts after your yes to a summary. See Money and confirmation.

In short

ToolWhat it doesMinimum roleType
list_coursesThe community's coursesAnyRead-only
list_my_courses_in_progressYour courses in progress and the lesson to continueAnyRead-only
get_courseA course with its modules and lessonsAnyRead-only
create_courseSpace, course, modules, lessons and the product, in one goAdminChanges
update_courseEdits a course's title, level, status and coverAdminChanges
create_course_moduleAdds a module to a courseAdminChanges
create_lessonAdds a lesson to a moduleAdminChanges
update_course_moduleRenames a module or changes its positionAdminChanges
update_lessonChanges a lesson, or moves it to another moduleAdminChanges
publish_coursePublishes a draft course, checking what is missingAdminChanges
publish_lessonPublishes a draft lessonAdminChanges
list_course_enrollmentsA course's students, with their progressModeratorRead-only
reorder_course_modulesPuts a course's modules in a new orderAdminChanges
reorder_lessonsPuts a module's lessons in a new orderAdminChanges
delete_course_moduleDeletes a module with its lessonsAdminAsks to confirm
delete_lessonDeletes a lessonAdminAsks to confirm
delete_courseDeletes a courseAdminAsks to confirm
enroll_in_courseEnrolls you in a published courseMember (not finance)Changes
enroll_member_in_courseEnrolls someone else in a course that is free for themModeratorChanges
complete_lessonRecords your progress in a lessonMember (not finance)Changes
list_quiz_responsesThe students' attempts at a quiz, with the open answersAny (the course team)Read-only

list_courses

Read-only

List courses. The community's courses. Minimum role: any.

ParameterTypeRequiredDescription
space_ididNoOnly the courses in one courses space

Returns: the courses, with id, slug, title, level and status.

Ask like this: "Which courses already exist?"

saved lists only the courses you saved. Each course carries the instructor, what you will learn, studentsCount (only when the API shows it: members, from 10 students up) and whether it is saved.

list_my_courses_in_progress

Read-only

Continue where I left off. The courses you started and did not finish, most recent first, each with the lesson to open now. Minimum role: any.

ParameterTypeRequiredDescription
limit1 to 20NoHow many courses (default 10). 1 answers "where did I stop?"

Returns: items, each with the course (id, slug, title, coverFormat, spaceId), the lesson (the last one you touched or, once it is completed, the next open one, with its module), resumeAt (the second in the video where you stopped; null without a position), lastAccessedAt and the progress (completed lessons, total and percentage). Only published courses, with an active enrollment, in spaces you still open.

Ask like this: "Where did I stop?" → list_my_courses_in_progress {"limit":1}, then get_course {"course":"<slug>"} to open the lesson.

Notes: the suggested next steps are opening the lesson (get_course) and marking it done (complete_lesson); with no course in progress, list_courses. See Continue where you left off.

get_course

Read-only

View a course with modules and lessons. A course with its full structure. Minimum role: any.

ParameterTypeRequiredDescription
coursetextYesThe course id or slug

Returns: the course, the modules (with the id create_lesson asks for) and the lessons of each module. The lesson content (body and content_url) only comes back for who can see it: owner, admin, or an enrolled student. Everyone else gets just the outline (title, type and duration). It also carries space_mode, the space's mode (single or multi), and, for the owner and the admin, how many students have progress in each module and lesson. The enrollment count (stats.enrollments) only comes back for the team.

Ask like this: "Show me the structure of the Excel from Scratch course."

For someone enrolled, each locked module and lesson carries the reason (lockReason: sequence or date), when it opens (unlocksAt, in the community's time zone) and a sentence, such as "Locked: opens October 18, 2026, 12:00 AM" or "Locked: finish "X" first"; the locked lesson's content does not come. Moderators and finance read the content without enrolling.

For the team, quiz lessons carry the questions, the options and the answer key; the student receives the prompts and options, never the key.

Carries userFinalGrade and explains BELOW_MIN_GRADE when the final grade is below the certificate minimum.

Each lesson carries hasMedia and, for whoever reads the content, the name, size and type of the hosted file; the playback link comes from get_lesson_media_url.

A Bunny Stream or Cloudflare Stream lesson carries videoEmbed, with the signed src, or unavailable when the provider refused the key. See list_video_keys.

create_course

Changes

Create a complete course. Courses space → course → modules → lessons → (optional) the product that unlocks the space. Minimum role: admin.

ParameterTypeRequiredDescription
titletext, up to 255YesThe course title
descriptionMarkdownNoWritten in Markdown (bold, lists, links); becomes the app's formatted text
levelbeginner, intermediate, advancedNoDefault: beginner
space_ididNoAn existing Courses space
section_ididNoWhere to create the space, if space_id isn't given
modesingle, multiNoThe mode of the space the call creates: multi (list of courses, the default) or single (A single course). See A single course
space_titletextNoDefault: the course title
iconone of the icons in the listNoThe icon of the space it creates. See Icons
image_urllinkNoThe course cover. See Images
cover_formatBANNER, POSTER, VIDEONoThe cover format: Banner (3:1, default), Poster (2:3, for the Showcase) or Video (16:9). See Cover format
moduleslist, up to 30NoEach with title (required) and lessons
saleobjectNoThe product that sells the course (see below)
certificateobjectNo{enabled, template_id, text}: the certificate the course issues on completion. See Certificate on completion
completion_badgebadge id or name, or nullNoThe badge whoever finishes the course gets, without a workflow; null removes it. Owner and admin only
idempotency_keytext, up to 100No

Each module has title and lessons, a list of up to 50, and each lesson has title (required), type (text, video, link, image; default text), duration (mm:ss or hh:mm:ss, e.g. 12:30), and the content: body (Markdown) for a text lesson, and content_url for video, link and image lessons.

The sale (and the ticket, in create_event):

FieldTypeDescription
pricenumber, in reaisRequired
titletext, 3 to 255Default: the course title (or Ingresso — event title)
typeONE_TIME, INSTALLMENT, SUBSCRIPTIONDefault: ONE_TIME (one-time)
intervalMONTHLY, YEARLYOnly for SUBSCRIPTION
max_installments1 to 12Up to how many card installments
stocknumberQuantity on sale
direct_linkyes or noSold by direct link
publishyes or noPut on sale right away. Default: draft

Returns: the space (and whether it was just created), the course (id, title, slug, status), the modules with their lessons, and the product (id, title, price, status), if any.

Ask like this: "Build the Excel from Scratch course in the courses space, with the modules Basics, Formulas and Pivot tables, 3 video lessons in each, and a US$ 97 product, as a draft."

Every course is created with its own product (Course kind, free draft), and the response carries product. sale now sets up that product (price, seats) instead of creating another, and it only goes live with sale.publish: true (a price above zero requires approved Business Information; free doesn't). The response suggests the next steps: set the price (update_product, update_price) and publish (publish_product). See Selling the course.

Notes: a text lesson needs body; the others need content_url (starting with http:// or https://). Video only from YouTube, Vimeo, Loom, Bunny Stream, Cloudflare Stream, Panda Video or HLS (.m3u8); from any other provider, use type: link. The API checks the lesson before creating it and returns the reason on the right field. The product unlocks the course space for whoever buys it. In a space in A single course mode that already has a course, the API refuses a second one (drafts and archived courses count), with the guidance to edit the existing course or switch the space to a list of courses; the composite tool undoes what it created.

require_sequential turns on lessons in sequence, and each module of the course may have available_at (ISO 8601 with time zone) or available_after_days (days after enrollment), never both.

Accepts instructor (a profile that is owner, admin, moderator or finance), learning_points (up to 8 items) and leaderboard_enabled, owner and admin only.

certificate_min_grade (0 to 100), owner and admin only.

The course is born a draft and is published with publish_course, which checks what is missing. Lessons are born published; a lesson with draft: true is born a draft and joins the course with publish_lesson.

update_course

Changes

Edit a course. Changes the title, description, level, status (draft, published, archived) and the cover. Minimum role: admin.

ParameterTypeRequiredDescription
courseid, slug or linkYes
title, descriptiontextNoThe description in Markdown
levelbeginner, intermediate, advancedNo
statusdraft, published, archivedNo
image_url or image_base64link or fileNoThe new cover
cover_formatBANNER, POSTER, VIDEONoThe cover format: Banner (3:1, default), Poster (2:3, for the Showcase) or Video (16:9). See Cover format
certificateobjectNo{enabled, template_id, text}: the certificate the course issues on completion. See Certificate on completion
completion_badgebadge id or name, or nullNoThe badge whoever finishes the course gets, without a workflow; null removes it. Owner and admin only
updated_atdate and timeNoThe version you read. If someone else saved the course in between, nothing changes and the error carries code: stale and current_updated_at: read it again and repeat

Ask like this: "Publish the Excel from Zero course and swap the cover for this one." · "Use a poster cover on the Excel from Scratch course." → update_course {"course":"<slug>","cover_format":"POSTER"}

Notes: modules and lessons change with update_course_module, update_lesson, the order tools and the delete tools. On publishing, the assistant suggests looking at the students (list_course_enrollments).

require_sequential turns lessons in sequence on or off (owners and admins only).

Accepts instructor (and remove_instructor), learning_points and leaderboard_enabled (owner and admin only).

certificate_min_grade (0 to 100; null clears it and, when omitted, it is kept), owner and admin only.

create_course_module

Changes

Add a module to a course. Adds a module to the end of an existing course. Minimum role: admin.

ParameterTypeRequiredDescription
course_ididYesFrom list_courses or create_course
titletextYes
lessonslistNoThe module's lessons, in the same call, with the fields of create_lesson (text, quiz, video, link, image or file). If a lesson fails, the module and the lessons of this call are undone

Returns: the new module, with the id create_lesson needs.

Ask like this: "Add a Charts module to the Excel from Scratch course."

Notes: to rename it or change its position later, update_course_module.

available_at (fixed date, ISO 8601 with time zone; without one, the community's wall-clock time applies) or available_after_days (from 0, which opens at once, up), never both.

create_lesson

Changes

Add a lesson to a module. Adds a lesson to the end of a module. Minimum role: admin. A video lesson also takes video_media_id, a Drop the person recorded (see upload_lesson_drop), instead of the link or the file.

ParameterTypeRequiredDescription
module_ididYesFrom get_course
titletextYes
typetext, video, link, imageNoDefault: text
durationtextNomm:ss or hh:mm:ss, e.g. 12:30
bodyMarkdown textNoThe text of a text lesson
content_urllinkNoVideo (YouTube, Vimeo, Loom, Bunny Stream, Cloudflare Stream, Panda Video or HLS (.m3u8) only), link or image; http or https
draftyes or noNotrue creates the lesson as a draft: the student does not see it, nor does it count for progress, completion and the certificate, until publish_lesson. Default: published

Returns: the new lesson.

Ask like this: "In the Charts module, create the lessons Line charts (8 min) and Pie charts (6 min), both video."

Notes: a text lesson needs body; video, link and image lessons need content_url. Video only from YouTube, Vimeo, Loom, Bunny Stream, Cloudflare Stream, Panda Video or HLS (.m3u8): from anywhere else, ask for type: link. The student only sees the content after enrolling. After creating the lesson, the assistant suggests publishing the course (with publish_course; a draft lesson, with publish_lesson).

quiz (a quiz-type lesson): quiz.pass_percent and quiz.questions[], each with its type: single (options, one is_correct), multiple (options, at least one is_correct), fill_blank (the blanks marked with ___ in the prompt and the accepted answers for each), matching (the pairs) or open (free answer, out of the grade). Saving replaces the whole set. Owner, admin and the course instructors.

scheduled_publish_at (date and time with offset, in the future): the scheduled lesson. The lesson stays a draft and publishes itself on the date; until then, the student sees it in the course as "coming soon" (only the title and the date). In update_lesson, null cancels; on a published lesson, it is refused.

Text and images. body is Markdown (bold, lists, links, headings and tables) and becomes the app's rich text, tables included. Images only from Memberfy: the link of a Media library image shows as an image in the text; any other address becomes a link. This works in every lesson type.

quiz.max_attempts (1 to 100; empty = unlimited).

type: file creates a file lesson, and awaiting_media creates a video lesson with no link, as "content coming soon", to receive the file with upload_lesson_media.

With the signing key saved (update_video_key), Bunny Stream and Cloudflare Stream videos play signed.

update_course_module

Changes

Edit course module. Renames a module or changes its position. Only what you send changes. Minimum role: admin.

ParameterTypeRequiredDescription
module_ididYesFrom get_course
titletext, up to 255No
ordernumber, from 0NoThe position in the course

Ask like this: "Rename the Formulas module to Essential formulas and make it second."

Changes when the module opens with available_at or available_after_days (the one sent replaces the other; null clears the rule). Both together are refused.

update_lesson

Changes

Edit lesson. Changes the title, type, duration, content or position of a lesson, or moves it to another module of the same course. Only what you send changes. Minimum role: admin. A video lesson also takes video_media_id, a Drop the person recorded (see upload_lesson_drop), instead of the link or the file.

ParameterTypeRequiredDescription
lesson_ididYesFrom get_course
titletext, up to 255No
typetext, video, link, imageNo
durationtextNomm:ss or hh:mm:ss, e.g. 12:30
bodyMarkdown textNoThe text of a text lesson
content_urllinkNoVideo (YouTube, Vimeo, Loom, Bunny Stream, Cloudflare Stream, Panda Video or HLS (.m3u8) only), link or image; http or https
ordernumber, from 0NoThe position in the module
module_ididNoMoves the lesson to this module (of the same course). Without order, it goes to the end
awaiting_mediayes or noNotrue: the video lesson will get its video next, with upload_lesson_drop; the text and the type save before the video
updated_atdate and timeNoThe version of the lesson you read. If someone else saved the lesson in between, nothing changes and the error carries code: stale and current_updated_at

Ask like this: "Move the Pie chart lesson to the Fundamentals module, as the last lesson."

Notes: the API checks the lesson as it will be: when you change the type, also send the content that goes with it. content_url: null removes the lesson's link.

quiz (a quiz-type lesson): quiz.pass_percent and quiz.questions[], each with its type: single (options, one is_correct), multiple (options, at least one is_correct), fill_blank (the blanks marked with ___ in the prompt and the accepted answers for each), matching (the pairs) or open (free answer, out of the grade). Saving replaces the whole set. Owner, admin and the course instructors.

scheduled_publish_at (date and time with offset, in the future): the scheduled lesson. The lesson stays a draft and publishes itself on the date; until then, the student sees it in the course as "coming soon" (only the title and the date). In update_lesson, null cancels; on a published lesson, it is refused.

Text and images. body is Markdown (bold, lists, links, headings and tables) and becomes the app's rich text, tables included. Images only from Memberfy: the link of a Media library image shows as an image in the text; any other address becomes a link. This works in every lesson type.

quiz.max_attempts (1 to 100); null clears the limit and, when omitted, it is kept.

publish_course

Changes

Publish course. Publishes a draft course, like the app's Publish: first it checks the To publish list (a title and at least one published lesson with content; the cover is recommended, not required). With something missing, nothing changes and the answer lists what is missing (readiness with key, ok and required; missing, the required ones still open), with the next steps (create_lesson, publish_lesson, update_course). Once published, the course enters the feed and, with notify_by_email, the e-mail notice goes out. A course already published is refused. Minimum role: admin.

ParameterTypeRequiredDescription
courseid, slug or linkYes
notify_by_emailyes or noNoNotify by e-mail whoever can open the course. Default: yes

Ask like this: "Publish the Excel from Scratch course." · "What is missing to publish the Excel from Scratch course?"

Notes: a draft lesson stays hidden until publish_lesson, even with the course published.

publish_lesson

Changes

Publish lesson. Publishes a draft lesson, like the app's Publish lesson: from then on the student sees it, and it counts for progress, completion and the certificate. It sends no e-mail. A lesson already published is refused. Minimum role: admin.

ParameterTypeRequiredDescription
lesson_ididYesFrom get_course, where the team sees status: draft

Ask like this: "Publish the Pie chart lesson."

Notes: a draft course still needs publish_course.

list_course_enrollments

Read-only

List course students. Who is enrolled in a course, with each one's progress: the dashboard's Students tab. Minimum role: moderator (read-only). Members don't even see the tool.

ParameterTypeRequiredDescription
courseid or slugYesThe course
pagenumberNoPage, starting at 1
limitnumberNoItems per page (up to 100)

Returns: the enrolled students and those who completed, from the most recent enrollment to the oldest, each with their profile, status, completed lessons and total lessons (the ones that exist today), progress percentage and last activity. A canceled enrollment does not count, and the total is the same student number as in the course list.

Ask like this: "Who is taking the Excel from Scratch course? Who has already finished?"

Notes: with an empty list, the assistant suggests checking whether the course is published and has lessons (get_course).

Each student carries finalGrade, the course final grade.

reorder_course_modules

Changes

Reorder course modules. Records the order of all the course's modules at once. Minimum role: admin.

ParameterTypeRequiredDescription
course_ididYesFrom list_courses
module_idslist of idsYesAll of the course's modules, in the new order

Ask like this: "Put Formulas before Basics in the Excel from Scratch course."

Notes: the list must be exactly what exists. If a module is missing or another is repeated, the call returns an error and nothing changes. To change the position of just one, update_course_module.

reorder_lessons

Changes

Reorder module lessons. Records the order of all the lessons of a module at once. Minimum role: admin.

ParameterTypeRequiredDescription
module_ididYesFrom get_course
lesson_idslist of idsYesAll of the module's lessons, in the new order

Ask like this: "In the Basics module, put the video lesson before the text one."

Notes: same rule as reorder_course_modules: the complete list, or nothing changes. To move a lesson to another module, update_lesson with module_id.

delete_course_module

Asks to confirm

Delete course module. Deletes a module and all its lessons. Minimum role: admin.

ParameterTypeRequiredDescription
module_ididYesFrom get_course
courseid, slug or linkNoThe course, so the summary shows the names of the module and its lessons

Notes: the progress of whoever already watched is kept.

delete_lesson

Asks to confirm

Delete lesson. Minimum role: admin.

ParameterTypeRequiredDescription
lesson_ididYesFrom get_course
courseid, slug or linkNoThe course, so the summary shows the lesson's name

Notes: the progress of whoever already watched is kept.

delete_course

Asks to confirm

Delete course. The course is archived and leaves the feed. Minimum role: admin.

ParameterTypeRequiredDescription
courseid, slug or linkYes

Returns: on the first call, the title, how many modules and enrollments the course has, and the confirmation code.

Deleting the course also archives its product, and is refused (409) while there's a paid purchase that still gives access: refund it first.

enroll_in_course

Changes

Enroll in course. Enrolls you in a published course. Role: owner, admin, moderator or member.

ParameterTypeRequiredDescription
courseid, slug or linkYes

Ask like this: "Enroll me in the Excel from Scratch course."

Notes: enrolling again is not an error. If you were already enrolled (enrollment in progress or completed), the answer carries already_enrolled: true, with no extra points. When restarting an enrollment that had been canceled, it comes back false. Once enrolled, get_course shows the lesson content.

A course with its product published and priced answers 403 to whoever hasn't bought it, has no plan that includes it and wasn't already in, and the response carries the price (the purchase is made in the app: open_link). A full course answers 409 (sold out) and the assistant offers join_waitlist. A free course is obtained with claim_free_product.

enroll_member_in_course

Changes

Enroll someone in the course. The team enrolls a person from the community in a published course that doesn't charge them, with the rules of the person's own enrollment (enrolling again returns the existing enrollment, with no extra points; seats). Runs on the first call. Role: owner, admin or moderator.

ParameterTypeRequiredDescription
courseid or linkYesThe course
memberid, e-mail or profile linkYesThe person

Ask like this: "Enroll João in the Onboarding course."

Seats, waitlist and free product

The five tools below take a product_id: it is the product.id that get_course, enroll_in_course and rsvp_event return, or the id of a product from list_products. The tools sit on this page because they count under Courses, but they apply to courses, events, downloads and one-off products. See Seats and waitlist and Free product.

ToolWhat it doesMinimum roleType
join_waitlistJoins the waitlist of a sold-out productAnyChanges
leave_waitlistLeaves the waitlistAnyChanges
my_waitlist_positionYour place in lineAnyRead-only
list_waitlistWho is waiting, in orderModerator or financeRead-only
claim_free_productGets a free productAnyChanges

join_waitlist

Changes

Join the waitlist. For a sold-out product (a full course or event, or a product with limited stock). One place per person and product: asking again returns the same place. With a free seat, the tool refuses (409) and tells you to enroll, confirm attendance or buy. When a seat frees up, the next person gets a 24-hour offer by e-mail with the seat reserved and takes the normal action. Role: any.

ParameterTypeRequiredDescription
product_ididYesThe course's or event's product.id, or a product from list_products

Ask like this: "The Excel from Scratch course is full: put me on the waitlist."

leave_waitlist

Changes

Leave the waitlist. If you had an open offer, the seat goes to the next person. You can come back (at the end of the line), so it doesn't ask to confirm. Role: any.

ParameterTypeRequiredDescription
product_ididYes

my_waitlist_position

Read-only

Your place in line. status (WAITING or OFFERED), position (0 = you have an offer) and when the offer expires; place comes back null if you're not in line. Never someone else's place. Role: any.

ParameterTypeRequiredDescription
product_ididYes

list_waitlist

Read-only

Who is waiting. In order: position (0 = has an open 24-hour offer), status, join and offer dates, and the person. Minimum role: moderator (or finance).

ParameterTypeRequiredDescription
product_ididYes

claim_free_product

Changes

Get a free product. An item priced at zero (a free download, a free plan, a free course or event): no payment, no confirmation, with access at once. Once per person and product; asking again returns what you already have. A priced product is refused (the purchase is made in the app), and a sold-out one answers 409. Role: any.

ParameterTypeRequiredDescription
product_ididYes
shipping_addressobjectOnly for a physical productAll the delivery address fields; the postal code is checked against the country. Ask the person for each field first

Ask like this: "Get me the free cash flow spreadsheet."

complete_lesson

Changes

Record lesson progress. Marks a lesson as completed, or records a percentage, in a course you're enrolled in. Role: owner, admin, moderator or member.

ParameterTypeRequiredDescription
courseid, slug or linkYes
lesson_ididYesFrom get_course
completedyes or noNoDefault yes
progress_percentfrom 0 to 100No

Ask like this: "Mark the Basic formulas lesson as watched."

Notes: completed: false only records that you opened the lesson; it never undoes a completed lesson. The result says whether the course is complete and your progress. When you finish the course, the assistant suggests looking at your certificates (list_my_certificates).

Completing a lesson still locked by the sequence or a date is refused with 409, with the reason and when it opens; the lesson gets no progress or points.

Certificate on completion

ToolWhat changes
create_course, update_course and create_space (with course)Accept certificate: enabled (on or off), template_id (an active template) and text (plain text, up to 5,000 characters). When turning it on, the reply warns that whoever completes from now on gets it by email, and whoever already completed does not. A missing block leaves things as they are; an empty template_id goes back to the platform default; an empty text goes back to the default text
get_course and list_coursesOwner and admin see the course's certificate. If the template (or the default) is archived, there is a warning that the course issues nothing and a suggestion to pick another. Whoever completed sees their userCertificate (being generated or ready)
list_certificate_templatesWithout space, owner and admin get the active templates of every space, platform default first, each with its space of origin. Accepts q to search by name. The moderator must give the space
complete_lessonOn completing a course that issues, it says the certificate arrives by email in a moment and suggests list_my_certificates. A course that does not issue suggests nothing

API errors come back as they are: certificate.templateId (template from another community, or archived) and certificate.text. See recipes 25, 26 and 27.

A single course

The Courses space has two modes: list of courses (multi, the default) and A single course (single), where the space is one course and whoever opens it lands straight on it. See Courses.

  • create_space accepts mode and, in single, course (title, level, description): the space and the course, as a draft, are created in one call. course on its own already implies single.
  • update_space switches the mode. From list to single with 2 or more courses, Memberfy refuses and says how many courses there are and that you need to delete them until one is left (drafts and archived courses count); nothing is deleted. From single to list always goes through.
  • create_course with mode applies to the space the call creates; with space_id, the existing space keeps its mode. list_spaces and get_course show the mode.
  • A second course in a single space is refused, with the API's message.

leave_course

Changes

Leave course. The student leaves a course they are enrolled in; progress is kept and they can come back with enroll_in_course. Whoever completed the course cannot leave (409). Reversible, so it asks no confirmation. Role: whoever is enrolled.

ParameterTypeRequiredDescription
courseid, slug or linkYes

Ask like this: "Leave the Excel from Scratch course; I'll come back later."

favorite_course

Changes

Save course. Saves a course for later, or takes it off the saved list with saved=false. It is personal: nobody else sees it. Role: anyone with access to the space.

ParameterTypeRequiredDescription
courseid, slug or linkYes
savedyes or noNoDefault: yes. false removes it from saved

Ask like this: "Save the SQL course so I can see it later."

submit_quiz_attempt

Changes

Submit a quiz's answers. Sends all the answers of a quiz lesson; the server grades. If passed, the lesson is completed and the result carries the correct answers; if failed, it carries only the score. The team tests without recording anything. Past 30 attempts per hour, the answer warns. Role: whoever is enrolled, or the team.

ParameterTypeRequiredDescription
courseid or slugYes
lesson_ididYesFrom get_course
answerslistYesOne answer per question, with the question_id (from get_course) and the field of its type: the option (single choice), the options (multiple correct), the text of each blank, the pairs or the free text (open answer)

Ask like this: "Answer the SQL lesson quiz: question 1, option B; question 2, option A."

The answer carries attemptsUsed, attemptsLeft, bestScorePercent and closedWithoutPassing; an attempt after they run out comes back as 409 with the reason.

list_quiz_attempts

Read-only

See my attempts. The last 10 attempts at a quiz, with score, result and date. Role: whoever is enrolled.

ParameterTypeRequiredDescription
courseid or slugYes
lesson_ididYes

Ask like this: "How did my attempts at the SQL quiz go?"

list_quiz_responses

Read-only

The students' responses. The students' attempts at a quiz lesson, newest first: who answered, the grade, whether they passed, the date and the text of each open answer. It is the app's Responses tab. Team test runs do not show up. Role: the course team (owner, admin, moderator, finance and the course instructors); others get 403.

ParameterTypeRequiredDescription
courseid or addressYes
lesson_ididYesThe quiz lesson
page, limitnumberNolimit up to 100

Ask like this: "What did the students write in the open answers of the week 2 quiz?"

upload_lesson_media

Changes

Host a video or file in a lesson. Sends the file by public link (file_url) or as base64 (file_base64, up to 25 MB; for more, use the link). The lesson (lesson_id, from get_course) must be video (MP4, WebM or MOV, up to 500 MB) or file (PDF, ZIP, Word, Excel, PowerPoint, PNG, JPEG, GIF or WebP, up to 50 MB). The same checks as the app apply (type, size and content). Uploading again replaces the media. At the plan's storage limit, a new upload is refused. Minimum role: admin.

ParameterTypeRequiredDescription
lesson_ididYesFrom get_course
file_urllinkOne of the twoPublic address of the video or file
file_base64textOne of the twoThe file in base64, up to 25 MB
mime_typetextNoE.g. video/mp4 or application/pdf
nametextNoThe name shown to the student

Ask like this: "Host this PDF in the Support material lesson: https://…/guide.pdf"

upload_lesson_drop

Changes

Put a Drop on a lesson. Attaches a Drop to the video lesson (lesson_id): the recorded file (video_file_url or video_file_base64, MP4, WebM or MOV, up to 600 MB, about 30 minutes recorded in the app) or the media_id of a lesson video the person already uploaded. It replaces the lesson's link or file. Right after, Memberfy measures the video (a lesson without a duration gets its duration) and takes up to 6 cover frames (set_video_cover_frame). The lesson text comes from create_drop_description with kind: lesson. Minimum role: admin.

remove_lesson_media

Asks to confirm

Remove a lesson's media. Deletes the hosted video or file, gives the space back and leaves the lesson as "Content coming soon". It asks for confirmation: the first call shows the summary and only the second, with the confirmation_token, removes. Minimum role: admin.

ParameterTypeRequiredDescription
lesson_ididYesFrom get_course

Ask like this: "Take the video off lesson 3; I will upload another."

get_lesson_media_url

Read-only

Link to watch or download. A temporary link to a lesson's video or file. Only enrolled students (course published, lesson unlocked by sequence and date) and the team get it; anyone else is refused. The link lasts 1 hour for video and 5 minutes for a file: ask for another when it expires, and do not store or share it. Role: any.

ParameterTypeRequiredDescription
courseid or slugYes
lesson_ididYesFrom get_course

Ask like this: "Give me the link to lesson 2's video."

Lesson ratings

rate_lesson rates a lesson from 1 to 5, with an optional comment (a student, only their own); get_course_ratings gives the team the average, the distribution and the comments per lesson and for the course. courses_report gains averageRating and ratingsCount.

Notes

The player's personal notes, pinned to the minute of the video. Only the writer reads their own notes: someone else's note, team included, answers not found. To take notes, the person needs to be enrolled (the refusal suggests enroll_in_course); the team that builds the course takes notes without enrollment. See Courses › My notes.

ToolWhat it doesMinimum roleType
list_lesson_notesYour notes on a lesson (lesson_id), in minute order; the ones without a minute at the endAnyRead-only
create_lesson_noteA note on the lesson (lesson_id, text up to 2,000 characters, optional position_seconds)AnyChanges
list_my_course_notesAll your notes on a course (course: id or link), grouped by lesson, in course orderAnyRead-only
get_player_noteOne of your notes (note_id)AnyRead-only
update_player_noteChanges the text, the minute (position_seconds: null removes the minute) or bothAnyChanges
delete_player_noteDeletes one of your notes; the summary shows the minute and the text firstAnyAsks to confirm

get_player_note, update_player_note and delete_player_note also work for episode notes (see Podcast and Videos › Notes). The notes' text does not go to the audit log.

Ask like this: "Note at 12:30 of the Lookup functions lesson: review VLOOKUP", "Show my notes for the Excel from Scratch course".

Individual plans

The team of an Individual plans space follows the participants' plans, reviews submissions, picks the mentor and builds the steps; builds the week intros, step images and milestones, and schedules and turns on reminders; the participant sees their own plan, the steps, the streak and the milestones, and sends text, audio, photo or file submissions.

ToolWho uses itConfirmation
list_individual_plansThe team and the plan's participantNo
get_individual_planThe team and the plan's participantNo
list_plan_evidencesThe team and the plan's participantNo
list_pending_plan_evidencesThe teamNo
review_plan_evidenceThe teamYes
submit_plan_text_evidenceThe plan's participantNo
submit_plan_file_evidenceThe plan's participantNo
search_individual_plan_studentsThe teamNo
create_individual_planThe teamNo
update_individual_planThe teamNo
delete_individual_planThe teamYes
list_individual_plan_staffThe teamNo
set_individual_plan_staffOwner and adminOnly when someone is removed
set_individual_plan_mentorThe teamYes
list_plan_stepsThe team and the plan's participantNo
list_overdue_plan_stepsThe team and the plan's participantNo
create_plan_stepThe teamNo
update_plan_stepThe teamNo
delete_plan_stepThe teamYes
complete_plan_stepThe plan's participantNo
list_plan_templatesThe teamNo
get_plan_templateThe teamNo
create_plan_templateThe teamNo
update_plan_templateThe teamNo
duplicate_plan_templateThe teamNo
delete_plan_templateThe teamYes
assign_plan_templateThe teamYes
list_plan_introsThe team and the plan's participantNo
set_plan_introThe teamNo
delete_plan_introThe teamYes
add_plan_imageThe teamNo
replace_plan_imageThe teamNo
remove_plan_imageThe teamYes
get_plan_progressThe team and the plan's participantNo
create_plan_milestoneThe teamNo
update_plan_milestoneThe teamNo
delete_plan_milestoneThe teamYes

Instructors

The course instructors in the conversation. Any member can be an instructor and, in their course, edits, publishes and deletes with the usual tools (update_course, publish_course, create_course_module, create_lesson, update_lesson, delete_course…), which is why they show up for every role: the API decides. Featured, required plan and price stay with the owner and the admin.

ToolWhat it doesMinimum roleType
list_course_instructorsA course's instructors, in orderAny (the team and the course's instructors)Read-only
add_course_instructorMakes a member (member_id, from list_members) an instructor of the course; someone who already is stays as they areAny (owner, admin and the course's instructors)Changes
remove_course_instructorTakes an instructor off the course; they lose the management of the courseAny (owner, admin and the course's instructors)Asks to confirm

A course always keeps at least one instructor: trying to remove the last one returns "The course needs at least one instructor. Add another one before leaving.", and next_steps suggests add_course_instructor.

Ask like this: "Make Ana an instructor of the Basic Photography course." · "Who are the instructors of the Excel course?" · "Remove Bruno from the instructors of the Basic Photography course."

Lesson attachments and quiz

The course team (owner, admin and the instructors) manages the attachments and the quiz of any lesson; whoever can open the lesson lists and downloads the attachments. See Text and attachments in any lesson.

  • list_lesson_attachments
  • get_lesson_attachment_link
  • add_lesson_attachment
  • rename_lesson_attachment
  • reorder_lesson_attachments
  • remove_lesson_attachment
  • remove_lesson_quiz