Hi there it is not clear to me how you set the course permissions in the webhook process.
For example if I have 4 closed courses and and 4 checkouts, how do I configure the webhook so the invite triggers the email and provides the user access to only the relevant course?