Manage courses, students, enrollments, pricing plans and transactions on a Teachable school.
Teachable ships in the w6w first-party pack. It declares 21 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.teachableTeachable is a platform for selling online courses and coaching. This app covers the Teachable Public API — the school-owner surface authenticated with a single API key, not the separate per-student OAuth surface (see the README for why that one is out of scope).
Look up and list courses, their lecture curriculum, lectures, quizzes and quiz responses, and videos; read a student’s progress through a course and mark a lecture complete on their behalf. Create, list, look up and update users, and enroll or unenroll a user in a course. Read the webhooks configured in the school admin and the delivery events they have fired — webhooks themselves are configured in the Teachable UI; the API is read-only for them. Read pricing plans and sales transactions for reporting and reconciliation.
Three routes to the same 21 actions. The Workflow tab is generated from Teachable's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
course-enrollments-list Fetch active enrolled students and their progress for a specific course.
course-list Fetch all courses at your school, with optional name, published-status, author and creation-date filters.
course-progress-get Fetch a specific user's progress through a course — completed lecture sections, certificate, and overall percent complete.
lecture-get Fetch a specific course lecture, including its attachments (text, video, quiz, etc.).
pricing-plan-get Fetch a specific pricing plan by ID. Currently only supports pricing plans associated with courses.
quiz-responses-get Fetch every student's submission for a specific quiz, with percent correct.
transaction-list Fetch sales transactions made in your school. New transactions can take up to two minutes to appear after the sale.
webhook-events-list Fetch delivery events for a webhook, optionally filtered by response status code range or creation date.
webhook-list Fetch all webhooks configured for your school. Webhooks are created and edited in the Teachable admin UI, not via this API.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Teachable's real ids.
{
"manifestVersion": "2",
"name": "teachable-example",
"steps": [
{
"id": "course-enrollments-list",
"uses": {
"app": "io.w6w.teachable",
"action": "course-enrollments-list",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"courseId": "<courseId>"
}
}
]
}course-enrollments-list course-get course-list course-progress-get lecture-get +16 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Teachable, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Teachable. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "course-enrollments-list",
payload: {
courseId: "<value>",
// enrolledInAfter: "<value>",
// enrolledInBefore: "<value>",
// sortDirection: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action course-enrollments-list --payload '{"courseId":"<value>"}' Give an AI agent Teachable — without giving it Teachable's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.teachable#course-enrollments-list",
"input": {
"courseId": "<courseId>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Teachable connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Teachable's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Teachable itself is MIT, and the runtime that executes it is source-available (FSL).
Teachable declares its own checks, so its health is a property of the app rather than something the host guesses at.
Component status from teachablestatus.com, including the developers.teachable.com API host.
Requests remaining this minute against the school's rate limit, read from the RateLimit-* response headers when Teachable sends them.