Enrollment
enrollment_created
Definition: The event is emitted anytime a new enrollment is added to a course by an end user or API request.
Trigger: Triggered when a new course enrollment is created.
Payload Example:
Event Body Schema
associated_user_id
The id of the user observed by an observer's enrollment. Omitted from non-observer enrollments.
course_id
The Canvas id of the course for this enrollment.
course_section_id
The id of the section of the course for the new enrollment.
created_at
The time at which this enrollment was created.
enrollment_id
The Canvas id of the new enrollment.
limit_privileges_to_course_section
Whether students can only talk to students within their course section.
type
The type of enrollment; e.g. StudentEnrollment, TeacherEnrollment, ObserverEnrollment, etc.
updated_at
The time at which this enrollment was last modified in any way.
user_id
The Canvas id of the user for this enrollment.
user_name
The user's name.
workflow_state
The state of the enrollment (active, completed, creation_pending, deleted, inactive, invited)
enrollment_state_created
Definition: The event is emitted anytime a new enrollment record is added to a course.
Trigger: Triggered when a new course enrollment is created with a new workflow_state.
Payload Example:
Event Body Schema
access_is_current
If this enrollment_state access is upto date.
enrollment_id
The Canvas id of the new enrollment.
restricted_access
True if this enrollment_state is restricted.
state
The state of the enrollment.
state_is_current
If this enrollment_state is uptodate
state_started_at
The time when this enrollment state starts.
state_valid_until
The time at which this enrollment is no longer valid.
enrollment_state_updated
Definition: The event is emitted anytime an enrollment record workflow state changes.
Trigger: Triggered when a course enrollment workflow_state changes.
Payload Example:
Event Body Schema
access_is_current
If this enrollment_state access is upto date.
enrollment_id
The Canvas id of the new enrollment.
restricted_access
True if this enrollment_state is restricted.
state
The state of the enrollment.
state_is_current
If this enrollment_state is uptodate
state_started_at
The time when this enrollment state starts.
state_valid_until
The time at which this enrollment is no longer valid.
enrollment_updated
Definition: The event is emitted anytime an enrollment record is updated by an end user or API request. Only changes to the fields included in the body of the event payload will emit the updated
event.
Trigger: Triggered when a course enrollment is modified.
Payload Example:
Event Body Schema
associated_user_id
The id of the user observed by an observer's enrollment. Omitted from non-observer enrollments.
course_id
The Canvas id of the course for this enrollment.
course_section_id
The id of the section of the course for the new enrollment.
created_at
The time at which this enrollment was created.
enrollment_id
The Canvas id of the new enrollment.
limit_privileges_to_course_section
Whether students can only talk to students within their course section.
type
The type of enrollment; e.g. StudentEnrollment, TeacherEnrollment, ObserverEnrollment, etc.
updated_at
The time at which this enrollment was last modified in any way.
user_id
The Canvas id of the user for this enrollment.
user_name
The user's name.
workflow_state
The state of the enrollment (active, completed, creation_pending, deleted, inactive, invited)
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated