Review course application
application_reviewApprove or reject one course application from application_list. Approving ENROLLS the applicant right away (prerequisites skipped, the course's access period applied) and emails them an approval with a link into the course; rejecting records the decision and emails them your decisionNote, enrolling no one. Repeating the decision an application already has does nothing (no second enrollment or email), and rejecting an application that was already approved does not remove the enrollment: use enrollment_revoke for that. To enroll someone who never applied, use enrollment_create. Returns {id, status, decisionNote, reviewedAt}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Application id from application_list. | |
| decision | Yes | "approved" enrolls the applicant and emails an approval; "rejected" emails a rejection and enrolls no one. Either email is skipped if the site has turned it off. | |
| decisionNote | No | Optional note saved on the application; it appears in the rejection email only (the approval email does not show it). |