Skip to content

Course Student Enroll

The course.student_enroll event is triggered when a student is enrolled in a course.

PropertyTypeDescription
idstringThe unique identifier of the enrollment
courseobjectDetails about the course
userobjectDetails about the enrolled user
created_atstringThe timestamp when the enrollment was created
updated_atstringThe timestamp when the enrollment was last updated
statestringThe current state of the enrollment delivery
PropertyTypeDescription
idstringThe unique identifier of the course
namestringThe name of the course
slugstringThe URL-friendly slug of the course
subtitlestringThe subtitle of the course
PropertyTypeDescription
idstringThe unique identifier of the user
namestringThe name of the user
emailstringThe email address of the user
phone_numberstringThe phone number of the user
{
"type": "course.student_enroll",
"data": {
"id": "enroll_123456",
"course": {
"id": "course_789012",
"name": "Introduction to Programming",
"slug": "intro-to-programming",
"subtitle": "Learn the basics of coding"
},
"user": {
"id": "user_345678",
"name": "Sample User",
"email": "student@example.com",
"phone_number": "+1234567890"
},
"created_at": "2023-05-15T14:30:00Z",
"updated_at": "2023-05-15T14:30:00Z",
"state": "pending"
}
}