Webhook map
triggersassignmentGraded(triggers.assignmentGraded)newAssignmentSubmission(triggers.newAssignmentSubmission)newCourseCreated(triggers.newCourseCreated)newDiscussionMessage(triggers.newDiscussionMessage)newDiscussionTopic(triggers.newDiscussionTopic)newFileUploaded(triggers.newFileUploaded)
HTTP handler setup
app/api/webhook/route.ts
Events
Triggers
Assignment Graded
triggers.assignmentGraded
Canvas Live Event when an assignment grade changes
Payload
data full type
data full type
metadata full type
metadata full type
body full type
body full type
Response data full type
Response data full type
webhookHooks example
New Assignment Submission
triggers.newAssignmentSubmission
Canvas Live Event when a new assignment submission is created
Payload
data full type
data full type
metadata full type
metadata full type
body full type
body full type
Response data full type
Response data full type
webhookHooks example
New Course Created
triggers.newCourseCreated
Canvas Live Event when a course is created
Payload
data full type
data full type
metadata full type
metadata full type
body full type
body full type
Response data full type
Response data full type
webhookHooks example
New Discussion Message
triggers.newDiscussionMessage
Canvas Live Event when a discussion entry is created
Payload
data full type
data full type
metadata full type
metadata full type
body full type
body full type
Response data full type
Response data full type
webhookHooks example
New Discussion Topic
triggers.newDiscussionTopic
Canvas Live Event when a discussion topic is created
Payload
data full type
data full type
metadata full type
metadata full type
body full type
body full type
Response data full type
Response data full type
webhookHooks example
New File Uploaded
triggers.newFileUploaded
Canvas Live Event when a file attachment is created
Payload
data full type
data full type
metadata full type
metadata full type
body full type
body full type
Response data full type
Response data full type
webhookHooks example