Submission
submission_comment_created
Definition: The event is emitted anytime an end user or API request comments on a submission.
Trigger: Triggered when a new comment is added to a submission.
Payload Example:
Event Body Schema
attachment_ids
Array of Canvas ids (as strings) of attachments for this comment.
body
The text of the comment. NOTE: This field will be truncated to only include the first 8192 characters.
created_at
The timestamp when the comment was created.
submission_comment_id
The Canvas id of the new comment.
submission_id
The Canvas id of the new submission.
user_id
The Canvas id of the user who authored the comment.
submission_created
Definition: The event is emitted anytime an end user or API request submits or re-submits an assignment. This applies to assignments and new quizzes, not classic quizzes. Use quiz_submitted for classic quiz submissions.
Trigger: Triggered when an assignment or new quizzes submission gets updated and has not yet been submitted.
Payload Example:
Event Body Schema
assignment_id
The Canvas id of the assignment being submitted.
attempt
This is the submission attempt number.
body
The content of the submission, if it was submitted directly in a text field. NOTE: This field will be truncated to only include the first 8192 characters.
grade
The grade for the submission, translated into the assignment grading scheme (so a letter grade, for example)
graded_at
The timestamp when the assignment was graded, if it was graded.
group_id
The submissions’s group ID if the assignment is a group assignment.
late
Whether the submission was made after the applicable due date.
lti_assignment_id
The LTI assignment guid of the submission's assignment
lti_user_id
The Lti id of the user associated with the submission.
missing
Whether the submission is missing, which generally means past-due and not yet submitted.
score
The raw score
submission_id
The Canvas id of the new submission.
submission_type
The types of submission (basic_lti_launch, discussion_topic, media_recording, online_quiz, online_text_entry, online_upload, online_url)
submitted_at
The timestamp when the assignment was submitted.
workflow_state
The state of the submission: normally 'submitted' or 'pending_review'.
updated_at
The time at which this assignment was last modified in any way
url
The URL of the submission (for 'online_url' submissions)
user_id
The Canvas id of the user associated with the submission.
submission_updated
Definition: The event is emitted anytime an end user or API request modifies a submitted assignment or when a Teacher grades an assignment.
Trigger: Triggered when a submission gets updated.
Payload Example:
Event Body Schema
assignment_id
The Canvas id of the assignment being submitted.
attempt
This is the submission attempt number.
body
The content of the submission, if it was submitted directly in a text field. NOTE: This field will be truncated to only include the first 8192 characters.
grade
The grade for the submission, translated into the assignment grading scheme (so a letter grade, for example)
graded_at
The timestamp when the assignment was graded, if it was graded.
group_id
The submissions’s group ID if the assignment is a group assignment.
late
Whether the submission was made after the applicable due date.
lti_assignment_id
The LTI assignment guid of the submission's assignment
lti_user_id
The Lti id of the user associated with the submission.
missing
Whether the submission is missing, which generally means past-due and not yet submitted.
score
The raw score
submission_id
The Canvas id of the new submission.
submission_type
The types of submission (online_text_entry, online_url, online_upload, media_recording)
submitted_at
The timestamp when the assignment was submitted.
workflow_state
The state of the submission, such as 'submitted' or 'graded'.
updated_at
The time at which this assignment was last modified in any way
url
The URL of the submission (for 'online_url' submissions)
user_id
The Canvas id of the user associated with the submission.
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated