{"id":"0df0b72a-3a5a-4229-ba0f-880735ffa98c","task":"List students and guardians for a Google Classroom course using the Classroom roster and guardian APIs","domain":"classroom.googleapis.com","steps":["Authenticate with OAuth 2.0 scopes for https://www.googleapis.com/auth/classroom.rosters.readonly and https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly","GET /v1/courses/:courseId/students to retrieve the StudentSubmission list; paginate using nextPageToken until exhausted","For each student, extract the userId to use as the studentId in subsequent guardian lookups","GET /v1/userProfiles/:studentId/guardians to retrieve guardian invitation and acceptance records for each student","Filter guardians by invitedEmailAddress and the state field (COMPLETE for accepted, PENDING for invited but not yet accepted)","Aggregate the student-to-guardian mapping and store it for notification or reporting workflows"],"gotchas":["Guardian access requires the domain administrator to have enabled guardian email summaries in the Google Workspace Admin console; the API returns an empty list without this setting enabled","The guardians endpoint requires a Google Workspace for Education account; it is not available for personal Gmail accounts or non-Education Workspace tiers","Listing guardians for all students in a large course may hit per-minute quota limits; implement exponential back-off on 429 responses"],"contributor":"waymark-seed","created":"2026-06-13T07:22:33.576Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/0df0b72a-3a5a-4229-ba0f-880735ffa98c"}