# Loopwise Developer Documentation

> Developer and AI-agent documentation for Loopwise (formerly Teachify), a platform for creators selling courses, events, memberships, and digital downloads. Covers OAuth 2.0 / OpenID Connect integration, the Admin GraphQL API, webhooks, and how an agent discovers and reads a storefront. Per-tenant endpoints and catalog data live on each storefront's own origin, not here — every storefront publishes its own llms.txt.

## Overview

- [Loopwise Developer Docs](https://docs.loopwise.com/): Documentation for integrating with the Loopwise platform.

## Guides

- [OAuth Quickstart](https://docs.loopwise.com/guides/oauth-quickstart): Get up and running with Loopwise OAuth 2.0 in minutes.
- [AI Agent Integration](https://docs.loopwise.com/guides/agent-integration): A cookbook for AI-driven integrators connecting Loopwise OAuth to their app, with role-aware onboarding via standard OIDC claims.
- [Storefront content API](https://docs.loopwise.com/guides/storefront-content-api): Read a Loopwise storefront's catalog — courses, posts, events, downloads, plans, lecturers — as agent-friendly markdown, and find the machine-readable OpenAPI spec.
- [Managing OAuth Applications](https://docs.loopwise.com/guides/managing-applications): How to create, configure, and manage OAuth applications in Loopwise.
- [Custom CSS & JavaScript](https://docs.loopwise.com/guides/custom-code): The contract for customizing a Loopwise storefront — stable DOM selectors, lifecycle events, SCSS semantics, the @import trap, how custom JavaScript is processed, and cache propagation.
- [Loopwise Pages](https://docs.loopwise.com/guides/loopwise-pages): How Loopwise Pages deploys work — the deployment lifecycle, preview surfaces, why assets redirect to *.loopwise.page, how a page's route wins over built-in routes, propagation timing, and the real size limits.
- [Enterprise SSO Integration](https://docs.loopwise.com/guides/enterprise-sso): A comprehensive guide for integrating your organization's identity provider with Loopwise using OAuth 2.0, allowing users to log in with their existing enterprise credentials.
- [Zapier Quickstart](https://docs.loopwise.com/guides/zapier): This guide will get you all set up and ready to use the Loopwise API with Zapier. We'll cover how to authenticate and make your first API request.

## Concepts

- [OAuth Overview](https://docs.loopwise.com/concepts/oauth-overview): How OAuth 2.0 works in the Loopwise platform and why it matters for integrations.
- [Authorization Code Flow](https://docs.loopwise.com/concepts/authorization-code-flow): A detailed walkthrough of the OAuth 2.0 Authorization Code flow with PKCE as implemented by Loopwise.
- [Agent discovery](https://docs.loopwise.com/concepts/agent-discovery): How an AI agent lands on a Loopwise storefront and discovers everything it can read and do — MCP, OpenAPI, Agent Skills, and markdown content — from predictable per-origin URLs.

## Admin API

- [Loopwise Admin API](https://docs.loopwise.com/api): GraphQL API for third-party applications to access school data
- [Loopwise Admin API Best Practices](https://docs.loopwise.com/api/best-practices): Guidelines for using the Loopwise Admin API effectively
- [Rate Limiting](https://docs.loopwise.com/api/rate-limiting): Understanding rate limits and best practices for the Loopwise Admin API
- [Loopwise Admin API Queries](https://docs.loopwise.com/api/queries): Available query operations, pagination, and filtering for the Loopwise Admin API
- [Courses Query](https://docs.loopwise.com/api/queries/courses): How to query course data in the Loopwise Admin API
- [Consulting Queries](https://docs.loopwise.com/api/queries/consulting): How to query consulting services and their time-slot meetings in the Loopwise Admin API
- [Users Query](https://docs.loopwise.com/api/queries/users): How to query user data in the Loopwise Admin API
- [Payments Query](https://docs.loopwise.com/api/queries/payments): Query operations for payments in the Loopwise Admin API
- [Product Revenues Query](https://docs.loopwise.com/api/queries/product-revenues): Per-product revenue analytics for the Loopwise Admin API
- [Subscriptions Query](https://docs.loopwise.com/api/queries/subscriptions): Query operations for subscriptions in the Loopwise Admin API
- [Coupons Query](https://docs.loopwise.com/api/queries/coupons): Query operations for coupons in the Loopwise Admin API
- [Posts Query](https://docs.loopwise.com/api/queries/posts): Query operations for posts in the Loopwise Admin API
- [Membership Plans Query](https://docs.loopwise.com/api/queries/membership-plans): Query operations for membership plans in the Loopwise Admin API
- [Assignments Query](https://docs.loopwise.com/api/queries/assignments): How to query assignment data in the Loopwise Admin API
- [Events Query](https://docs.loopwise.com/api/queries/events): How to query calendar event data in the Loopwise Admin API
- [Student Course Progress Query](https://docs.loopwise.com/api/queries/student-course-progress): How to query student course progress data in the Loopwise Admin API
- [Loopwise Admin API Mutations](https://docs.loopwise.com/api/mutations): Available mutation operations for the Loopwise Admin API, including input types and validation rules
- [Course Mutations](https://docs.loopwise.com/api/mutations/courses): Mutation operations for managing courses and student enrollments in your Loopwise school
- [Consulting Mutations](https://docs.loopwise.com/api/mutations/consulting): Mutation operations for managing consulting services and their time-slot meetings in your Loopwise school
- [Student Mutations](https://docs.loopwise.com/api/mutations/students): Create students and update their profile and admin tags in your Loopwise school
- [Post Mutations](https://docs.loopwise.com/api/mutations/posts): Mutation operations for managing posts in your Loopwise school
- [Subscription Mutations](https://docs.loopwise.com/api/mutations/subscriptions): API operations for managing membership subscriptions in Loopwise
- [Assignment Mutations](https://docs.loopwise.com/api/mutations/assignments): Mutation operations for managing course assignments
- [Event Mutations](https://docs.loopwise.com/api/mutations/events): Mutation operations for managing calendar events
- [Send Custom Email](https://docs.loopwise.com/api/mutations/send-custom-email): Send a custom email to a user through the Loopwise platform

## Webhooks

- [Webhooks](https://docs.loopwise.com/webhooks/overview): In this guide, we will look at how to register and consume webhooks to integrate your app with Loopwise.
- [Payment Webhooks](https://docs.loopwise.com/webhooks/payment): Detailed information about payment webhook events including payment.paid and payment.refund.
- [Course Webhooks](https://docs.loopwise.com/webhooks/course): Detailed information about course webhook events including course.created, course.updated, and course.student_enroll.
- [User Webhooks](https://docs.loopwise.com/webhooks/user): Detailed information about user webhook events including user.created and user.updated.
- [Post Webhooks](https://docs.loopwise.com/webhooks/post): Detailed information about post webhook events including post.created and post.updated.
- [Event Webhooks](https://docs.loopwise.com/webhooks/event): Detailed information about event webhook events including event.created and event.updated.
- [Membership Plan Webhooks](https://docs.loopwise.com/webhooks/membership-plan): Detailed information about membership plan webhook events including membership_plan.created and membership_plan.updated.
- [Digital Download Webhooks](https://docs.loopwise.com/webhooks/digital-download): Detailed information about digital download webhook events including digital_download.created and digital_download.updated.
- [Coupon Webhooks](https://docs.loopwise.com/webhooks/coupon): Detailed information about coupon webhook events including coupon.created and coupon.updated.
- [Invoice Webhooks](https://docs.loopwise.com/webhooks/invoice): Detailed information about invoice webhook events including invoice.created and invoice.updated.
- [Assignment Webhooks](https://docs.loopwise.com/webhooks/assignment): Detailed information about assignment and submission webhook events including assignment.created, assignment.updated, submission.submitted, submission.returned and submission.completed.

## Reference

- [Scopes](https://docs.loopwise.com/reference/scopes): Complete reference of available OAuth scopes and the data they grant access to.
- [Authorization Endpoints](https://docs.loopwise.com/reference/authorization-endpoints): Technical reference for the OAuth 2.0 authorization and discovery endpoints.
- [Token Endpoints](https://docs.loopwise.com/reference/token-endpoints): Technical reference for the OAuth 2.0 token, refresh, and revocation endpoints.
- [OAuth Errors](https://docs.loopwise.com/reference/errors): Canonical reference for every OAuth error code Loopwise returns, the cause, and how to fix it.

## Optional

- [Changelog](https://docs.loopwise.com/changelog): Record of all notable changes to the Loopwise Admin API
- [llms-full.txt](https://docs.loopwise.com/llms-full.txt): every page above inlined into one document — large, so check it against your context budget first.
