- Category: education
- Auth: OAUTH2
- Composio-managed OAuth available? Yes
- Tools: 62
- Triggers: 0
- Slug:
GOOGLE_CLASSROOM - Version: 20261101_00
Frequently Asked Questions
How do I set up custom Google OAuth credentials for Google Classroom?
How do I set up custom Google OAuth credentials for Google Classroom?
Why am I seeing "App is blocked" when connecting Google Classroom?
Why am I seeing "App is blocked" when connecting Google Classroom?
Why am I getting "Google Classroom API has not been used in project" error?
Why am I getting "Google Classroom API has not been used in project" error?
Why am I getting "Error 400: invalid_scope"?
Why am I getting "Error 400: invalid_scope"?
Why does the OAuth consent screen show "Composio" instead of my app?
Why does the OAuth consent screen show "Composio" instead of my app?
Why am I getting 401 errors on tool calls?
Why am I getting 401 errors on tool calls?
Tools
Accept Invitation
Accept Invitation
Add Course Teacher
Add Course Teacher
GOOGLE_CLASSROOM_ADD_COURSE_TEACHERDirectly add a teacher to a course as a domain administrator. Domain administrators can add users within their domain to courses within their domain. Non-admin users should send an invitation instead. Fails if the user is already a teacher or student in the course.Input Parameters
Output
Add Student Group Member
Add Student Group Member
Create Course Alias
Create Course Alias
GOOGLE_CLASSROOM_COURSES_ALIASES_CREATETool to create an alias for a course. Use when you need to add an alternative identifier to a course after confirming the course ID.Input Parameters
Output
Delete Course Alias
Delete Course Alias
List Course Aliases
List Course Aliases
GOOGLE_CLASSROOM_COURSES_ALIASES_LISTList a page of aliases for a specified course, with optional page size and page token. A next-page token may be returned for retrieving further aliases.Input Parameters
Output
Create Announcement
Create Announcement
Delete Announcement
Delete Announcement
Get Announcement
Get Announcement
Get Add-on Context for Announcement
Get Add-on Context for Announcement
GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_GET_ADD_ON_CONTEXTTool to get metadata for Classroom add-ons in the context of a specific announcement post. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user’s role (student or teacher) with exactly one context field populated.Input Parameters
Output
List Announcements
List Announcements
GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_LISTTool to list announcements in a course. Use after you have the course ID to page through announcements.Input Parameters
updateTime desc (newest first) or updateTime asc (oldest first). Defaults to updateTime desc.nextPageToken.Output
Modify Announcement Assignees
Modify Announcement Assignees
GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_MODIFY_ASSIGNEESTool to modify assignee mode and options of an announcement. Use when you need to change who can view an announcement, either making it visible to all students or to specific students only.Input Parameters
Output
Patch Announcement
Patch Announcement
GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_PATCHTool to update fields of an announcement. Use when you need to modify specific details of an existing announcement after confirming which fields to update.Input Parameters
Output
Delete Add-on Attachment
Delete Add-on Attachment
Get Add-on Attachment
Get Add-on Attachment
GOOGLE_CLASSROOM_COURSES_ANNOUNCES_ADD_ON_ATTACHS_GETTool to get an add-on attachment from an announcement. Use when you need to retrieve a specific add-on attachment. Requires the add-on requesting the attachment to be the original creator.Input Parameters
Output
List Add-on Attachments
List Add-on Attachments
GOOGLE_CLASSROOM_COURSES_ANNOUNCES_ADD_ON_ATTACHS_LISTLists a page of add-on attachments under an announcement. Requires the add-on to have active attachments on the post or permission to create new attachments.Input Parameters
Output
Delete Add-on Attachment
Delete Add-on Attachment
GOOGLE_CLASSROOM_COURSES_COURSE_WORK_ADD_ON_ATTACHS_DELETETool to delete an add-on attachment from course work. Use when the add-on needs to remove an attachment it originally created. Requires the add-on to have been the original creator of the attachment.Input Parameters
Output
Get Add-on Context for Course Work
Get Add-on Context for Course Work
GOOGLE_CLASSROOM_COURSES_COURSE_WORK_GET_ADD_ON_CONTEXTTool to get metadata for Classroom add-ons in the context of a specific course work. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user’s role (student or teacher) with exactly one context field populated.Input Parameters
Output
List Add-on Attachments on Course Work Material
List Add-on Attachments on Course Work Material
GOOGLE_CLASSROOM_COURSES_COURSE_WORK_MATERIALS_ADD_ATTACHSTool to list all add-on attachments under a course work material post. Use when you need to retrieve attachments created by an add-on. Requires the add-on to have active attachments or permission to create new attachments on the post.Input Parameters
Output
Delete Course Work Material
Delete Course Work Material
Modify CourseWork Assignees
Modify CourseWork Assignees
GOOGLE_CLASSROOM_COURSES_COURSE_WORK_MODIFY_ASSIGNEESTool to modify assignee mode and options of coursework. Use when you need to change who can view coursework, either making it visible to all students or to specific students only.Input Parameters
Output
Patch Course Work
Patch Course Work
GOOGLE_CLASSROOM_COURSES_COURSE_WORK_PATCHTool to update one or more fields of a course work. Use when you need to modify specific details of an existing course work after confirming which fields to update.Input Parameters
Output
List Course Work Rubrics
List Course Work Rubrics
Create Course
Create Course
Delete Course
Delete Course
Get Course
Get Course
Get Grading Period Settings
Get Grading Period Settings
List Courses
List Courses
GOOGLE_CLASSROOM_COURSES_LISTTool to list all courses accessible to the authenticated user. Use when you need a paginated list of courses.Input Parameters
Output
Patch Course
Patch Course
List Post Add-on Attachments
List Post Add-on Attachments
GOOGLE_CLASSROOM_COURSES_POSTS_ADD_ON_ATTACHMENTS_LISTTool to list all add-on attachments created under a post. Use when you need to retrieve attachments added by an add-on. Requires the add-on to have active attachments on the post or permission to create new attachments.Input Parameters
Output
Get Add-on Context for Post
Get Add-on Context for Post
GOOGLE_CLASSROOM_COURSES_POSTS_GET_ADD_ON_CONTEXTTool to get metadata for Classroom add-ons in the context of a specific post. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user’s role (student or teacher) with exactly one context field populated.Input Parameters
Output
Add Student to Course
Add Student to Course
GOOGLE_CLASSROOM_COURSES_STUDENTS_CREATETool to add a student to a course. Use when enrolling a user as a student in a course. Domain administrators can directly enroll users; students can self-enroll with an enrollment code.Input Parameters
Output
Delete Course Student
Delete Course Student
GOOGLE_CLASSROOM_COURSES_STUDENTS_DELETETool to delete a student from a course. Use when you need to remove a student’s enrollment from a specific course. This revokes their access to course materials and participation.Input Parameters
Output
Get Course Student
Get Course Student
GOOGLE_CLASSROOM_COURSES_STUDENTS_GETTool to retrieve a specific student of a course. Use when you need to get detailed information about a student enrolled in a course by courseId and userId.Input Parameters
Output
List Student Guardians
List Student Guardians
GOOGLE_CLASSROOM_COURSES_STUDENTS_GUARDIANS_LISTTool to list guardians of a student in a course. Use when you need to retrieve and paginate guardians for a given student in a course.Input Parameters
Output
List Course Students
List Course Students
GOOGLE_CLASSROOM_COURSES_STUDENTS_LISTTool to list students in a course. Use after you have the course ID to page through enrolled students.Input Parameters
nextPageToken.Output
Delete Course Teacher
Delete Course Teacher
GOOGLE_CLASSROOM_COURSES_TEACHERS_DELETETool to delete a teacher from a course. Use when you need to remove a teacher’s enrollment from a specific course. This revokes their teaching access to the course.Input Parameters
Output
Get Teacher
Get Teacher
GOOGLE_CLASSROOM_COURSES_TEACHERS_GETTool to get teacher enrollment. Use when you need to retrieve a specific teacher in a course by courseId and userId.Input Parameters
Output
List Course Teachers
List Course Teachers
Create Course Topic
Create Course Topic
Delete Course Topic
Delete Course Topic
Get Course Topic
Get Course Topic
List Course Topics
List Course Topics
Patch Course Topic
Patch Course Topic
Update Course
Update Course
GOOGLE_CLASSROOM_COURSES_UPDATETool to update a course. Use when you need to modify course details like name, description, or state. This performs a full update (PUT) of the course.Input Parameters
Output
Patch Course Work Material
Patch Course Work Material
GOOGLE_CLASSROOM_COURSES_WORK_MATERIALS_PATCHTool to update fields of a course work material. Use when you need to modify specific details of an existing course work material after confirming which fields to update.Input Parameters
Output
Create CourseWork
Create CourseWork
Delete CourseWork
Delete CourseWork
Get CourseWork
Get CourseWork
List CourseWork
List CourseWork
GOOGLE_CLASSROOM_COURSE_WORK_LISTTool to list coursework in a course. Use after verifying courseId.Input Parameters
Output
Create Course Work Material
Create Course Work Material
GOOGLE_CLASSROOM_COURSE_WORK_MATERIALS_CREATETool to create course work material. Use when adding resources or notes to a course.Input Parameters
Output
Get Coursework Material
Get Coursework Material
List CourseWorkMaterials
List CourseWorkMaterials
List Student Submissions
List Student Submissions
GOOGLE_CLASSROOM_COURSE_WORK_STUDENT_SUBMISSIONS_LISTTool to list student submissions for a specific coursework. Use when you need to fetch or paginate student submissions by course and coursework, optionally filtering by user, state, or timeliness.Input Parameters
Output
Reclaim Student Submission
Reclaim Student Submission
Create Announcement Add-on Attachment
Create Announcement Add-on Attachment
GOOGLE_CLASSROOM_CREATE_ANNOUNCEMENT_ADDON_ATTACHMENTCreate an add-on attachment on an announcement. The add-on must have permission to create attachments on the parent post.Input Parameters
Output
Create Coursework Add-on Attachment
Create Coursework Add-on Attachment
GOOGLE_CLASSROOM_CREATE_COURSEWORK_ADDON_ATTACHMENTCreate an add-on attachment on course work. The add-on must have permission to create attachments on the parent post.Input Parameters
Output
Create Material Add-on Attachment
Create Material Add-on Attachment
GOOGLE_CLASSROOM_CREATE_MATERIAL_ADDON_ATTACHMENTCreate an add-on attachment on a course work material. The add-on must have permission to create attachments on the parent post.Input Parameters
Output
Create Rubric
Create Rubric
GOOGLE_CLASSROOM_CREATE_RUBRICCreate a rubric for course work using criteria or a formatted spreadsheet. The requesting user and course owner need rubric creation capabilities and the required license. Use the OAuth developer project that created the parent course work item. Spreadsheet imports also require a Google Sheets scope.Input Parameters
Output
Create Student Group
Create Student Group
Delete Material Add-on Attachment
Delete Material Add-on Attachment
Delete Registration
Delete Registration
Delete Rubric
Delete Rubric
Delete Student Group
Delete Student Group
Delete Student Guardian
Delete Student Guardian
Get Add-on Attachment Submission
Get Add-on Attachment Submission
Get CourseWork Add-on Attachment
Get CourseWork Add-on Attachment
GOOGLE_CLASSROOM_GET_COURSEWORK_ADDON_ATTACHMENTTool to get an add-on attachment from course work. Use when you need to retrieve a specific add-on attachment. Requires the add-on requesting the attachment to be the original creator.Input Parameters
Output
Get Add-on Context for Course Work Material
Get Add-on Context for Course Work Material
GOOGLE_CLASSROOM_GET_COURSEWORK_MATERIAL_ADDON_CONTEXTTool to get metadata for Classroom add-ons in the context of a specific course work material. Use when validating query parameters for add-ons loading in an iframe. Returns course/item identifiers and role-specific context.Input Parameters
Output
Get Guardian Invitation
Get Guardian Invitation
GOOGLE_CLASSROOM_GET_GUARDIAN_INVITATIONRetrieve a specific guardian invitation for a student by invitation ID. Requires permission to view the student’s guardian invitations and guardians to be enabled for the domain. The invited email is visible only to domain administrators.Input Parameters
Output
Get Material Add-on Attachment
Get Material Add-on Attachment
Get Rubric
Get Rubric
Get Student Guardian
Get Student Guardian
Get Student Submission
Get Student Submission
Create Invitation
Create Invitation
Delete Invitation
Delete Invitation
Get Invitation
Get Invitation
List Invitations
List Invitations
GOOGLE_CLASSROOM_INVITATIONS_LISTTool to list invitations that the requesting user is permitted to view. At least one of userId or courseId must be supplied.Input Parameters
Output
Invite Student Guardian
Invite Student Guardian
GOOGLE_CLASSROOM_INVITE_STUDENT_GUARDIANInvite a student’s guardian by email to receive guardian notifications. Requires permission to manage guardians and guardians enabled for the domain. Sends an email asking the guardian to confirm their relationship to the student. Fails if the guardian already exists or a matching invitation is pending.Input Parameters
Output
List Add-on Attachment Submissions
List Add-on Attachment Submissions
GOOGLE_CLASSROOM_LIST_ADDON_ATTACHMENT_SUBMISSIONSList one page of student submissions the requester may view for a course work add-on attachment. Use nextPageToken as pageToken to retrieve subsequent pages.Input Parameters
Output
List Course Student Groups
List Course Student Groups
List CourseWork Add-on Attachments
List CourseWork Add-on Attachments
List Guardian Invitations
List Guardian Invitations
GOOGLE_CLASSROOM_LIST_GUARDIAN_INVITATIONSList one page of guardian invitations for a student, or use studentId ’-’ as a domain administrator to list all accessible students’ invitations. Guardians must be enabled for the domain and the caller must have permission to view invitations. Defaults to PENDING invitations; use states to filter and nextPageToken for subsequent pages.Input Parameters
Output
List Student Group Members
List Student Group Members
GOOGLE_CLASSROOM_LIST_STUDENT_GROUP_MEMBERSList one page of students in a course’s student group. Use nextPageToken to retrieve subsequent pages. Fails if the course or student group does not exist.Input Parameters
Output
List Student Guardians
List Student Guardians
GOOGLE_CLASSROOM_LIST_STUDENT_GUARDIANSList one page of guardians for a student, or use studentId ’-’ as a domain administrator to list all accessible students’ guardians. Guardians must be enabled for the domain and the caller must have permission to view them. Use nextPageToken for subsequent pages.Input Parameters
Output
Modify Student Submission Attachments
Modify Student Submission Attachments
GOOGLE_CLASSROOM_MODIFY_STUDENT_SUBMISSION_ATTACHMENTSAdd attachments to an ASSIGNMENT student submission and return the updated submission. Form attachments are unsupported. The OAuth client must belong to the Developer Console project that created the course work or an add-on attachment on it.Input Parameters
Output
Create Registration
Create Registration
GOOGLE_CLASSROOM_REGISTRATIONS_CREATETool to create a registration for push notifications from Google Classroom. Use when you need to set up notifications from a specific feed to a Cloud Pub/Sub topic. Requires the OAuth scope https://www.googleapis.com/auth/classroom.push-notifications.Input Parameters
Output
Remove Student Group Member
Remove Student Group Member
Return Student Submission
Return Student Submission
GOOGLE_CLASSROOM_RETURN_STUDENT_SUBMISSIONReturn a student submission, transferring attached Drive files to the student. May also update the submission state; does not copy draftGrade to assignedGrade. Only a teacher of the course may call this method. The OAuth client must belong to the Developer Console project that created the course work or an add-on attachment on that course work. Returns an empty response on success.Input Parameters
Output
Turn In Student Submission
Turn In Student Submission
GOOGLE_CLASSROOM_TURN_IN_STUDENT_SUBMISSIONTurn in a student submission, transferring attached Drive files to the teacher. May also update the submission state. Only the student who owns the submission may call this method. The OAuth client must belong to the Developer Console project that created the course work or an add-on attachment on that course work. Returns an empty response on success.Input Parameters
Output
Update Add-on Attachment Submission
Update Add-on Attachment Submission
GOOGLE_CLASSROOM_UPDATE_ADDON_ATTACHMENT_SUBMISSIONUpdate a student’s add-on attachment grade on course work using a field mask. The requesting add-on must have created the attachment, and the attachment must have a positive max_points value. Teachers may update points_earned.Input Parameters
Output
Update Announcement Add-on Attachment
Update Announcement Add-on Attachment
GOOGLE_CLASSROOM_UPDATE_ANNOUNCEMENT_ADDON_ATTACHMENTUpdate an add-on attachment on an announcement using a field mask. The requesting add-on must be the attachment’s original creator. Only the documented teacher-editable fields may appear in updateMask.Input Parameters
Output
Update Coursework Add-on Attachment
Update Coursework Add-on Attachment
GOOGLE_CLASSROOM_UPDATE_COURSEWORK_ADDON_ATTACHMENTUpdate an add-on attachment on course work using a field mask. The requesting add-on must be the attachment’s original creator. Only the documented teacher-editable fields may appear in updateMask.Input Parameters
Output
Update Coursework Rubric
Update Coursework Rubric
GOOGLE_CLASSROOM_UPDATE_COURSEWORK_RUBRICUpdate a course work rubric, replacing selected criteria or importing a spreadsheet. Omitted criteria and levels are deleted when replacing criteria. The requesting user and course owner need rubric creation capabilities and the required license. Use the OAuth developer project that created the parent course work. Updates are limited once grading starts.Input Parameters
Output
Update Grading Period Settings
Update Grading Period Settings
GOOGLE_CLASSROOM_UPDATE_GRADING_PERIOD_SETTINGSUpdate a course’s grading period settings. The requesting user and course owner must meet Classroom’s grading period licensing requirements. Updating grading_periods replaces the entire list, deleting omitted periods. Preserve existing period IDs to edit periods; omit IDs only for new periods.Input Parameters
Output
Update Material Add-on Attachment
Update Material Add-on Attachment
GOOGLE_CLASSROOM_UPDATE_MATERIAL_ADDON_ATTACHMENTUpdate an add-on attachment on a course work material using a field mask. The requesting add-on must be the attachment’s original creator. Only the documented teacher-editable fields may appear in updateMask.Input Parameters
Output
Update Rubric
Update Rubric
GOOGLE_CLASSROOM_UPDATE_RUBRICUpdate a rubric by ID, replacing criteria or importing a formatted spreadsheet. Replacing criteria deletes omitted criteria and levels. The requesting user and course owner need rubric creation capabilities and the required license. Use the OAuth developer project that created the parent course work. Updates are limited once grading has started.Input Parameters
Output
Update Student Group
Update Student Group
GOOGLE_CLASSROOM_UPDATE_STUDENT_GROUPUpdate a student group’s title as a teacher using the required updateMask. Fails if the group is inaccessible or missing, or if the mask is invalid.Input Parameters
Output
Update Student Submission
Update Student Submission
GOOGLE_CLASSROOM_UPDATE_STUDENT_SUBMISSIONUpdate a student submission’s draft or assigned grade as a teacher. The OAuth developer project must have created the course work or a Grade Sync-enabled add-on attachment on it. Only draft_grade and assigned_grade are supported updateMask fields; use ModifyAttachments for attachments.Input Parameters
Output
Get User Profile
Get User Profile
GOOGLE_CLASSROOM_USER_PROFILES_GETTool to retrieve a user profile by user ID. Use when you need to get information about a specific user including their name, email, photo, and permissions.Input Parameters
Output
Withdraw Guardian Invitation
Withdraw Guardian Invitation
GOOGLE_CLASSROOM_WITHDRAW_GUARDIAN_INVITATIONWithdraw a pending guardian invitation by setting state to COMPLETE with updateMask=state. Only the PENDING to COMPLETE transition is permitted. Requires permission to manage guardians and guardians enabled for the domain; fails for non-pending invitations, invalid updates, or missing students or invitations.