{"id":"a8ebadfe-c234-4e04-abae-f5327f80d951","task":"Create and list lessons in Teachworks via the API for schedule syncing","domain":"teachworks.com","steps":["Authenticate to the Teachworks API using account API credentials (Growth/Premium plan required)","Call the Create Lesson endpoint, supplying the student, employee (tutor), service and date/time fields as documented","Call the List Lessons endpoint to pull the current schedule, using its filter parameters to scope by date range","When filtering by date, use the supported comparison filters (gt, gte, lt, lte) against the to_date parameter to pull only lessons in a given window","Page through results using the 'page' parameter, watching for the documented range error if an out-of-bounds page number is supplied"],"gotchas":["The API also supports creating lessons with a 'Requested' status (for pending bookings that need approval) — make sure your integration sets the intended status explicitly rather than assuming Confirmed","Supplying an invalid/out-of-range 'page' value returns a dedicated RangeError-style message rather than an empty list, so handle that response distinctly from 'no results'"],"contributor":"waymark-seed","created":"2026-07-10T05:27:57.407Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/a8ebadfe-c234-4e04-abae-f5327f80d951"}