A free, open source read-only wrapper for the Teachable v1 API — built and maintained by Purple Hippo. Full TypeScript support, Zod-validated responses, and a versioned client pattern. Our contribution to the Teachable developer community.
Key concepts
Every endpoint returns a fully typed response built from real Teachable API payloads — not guessed from documentation. Import the types directly into your own project for end-to-end type safety.
Runtime schema validation via Zod v4 on every API response. If Teachable changes a payload shape, your app surfaces a clear validation error instead of silently passing malformed data downstream.
Access endpoints via a structured versioned client — client.v1.users.getList(), client.v1.courses.get(id) — so your code stays readable and forwards-compatible as the API evolves.
Get started
# npm
$npm install optio-teachable
# yarn
$yarn add optio-teachable
import { OptioClient } from 'optio-teachable'
const client = new OptioClient({
apiKey: process.env.TEACHABLE_API_KEY
})
const users = await
client.v1.users.getList()
Done for you
The SDK covers read operations — if you need write access, OAuth flows, or a full bespoke integration, Purple Hippo builds the enterprise layer on top. Most projects in this area run €5k–€15k depending on scope. Book a free call to get a rough estimate for your specific requirements.