Course Student Enroll
The course.student_enroll event is triggered when a student is enrolled in a course.
Event Properties
| Property | Type | Description |
|---|---|---|
| id | string | The unique identifier of the enrollment |
| course | object | Details about the course |
| user | object | Details about the enrolled user |
| created_at | string | The timestamp when the enrollment was created |
| updated_at | string | The timestamp when the enrollment was last updated |
| state | string | The current state of the enrollment delivery |
Course Object
| Property | Type | Description |
|---|---|---|
| id | string | The unique identifier of the course |
| name | string | The name of the course |
| slug | string | The URL-friendly slug of the course |
| subtitle | string | The subtitle of the course |
User Object
| Property | Type | Description |
|---|---|---|
| id | string | The unique identifier of the user |
| name | string | The name of the user |
| string | The email address of the user | |
| phone_number | string | The phone number of the user |
Example Payload
{ "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" }}