Receiving Webhook Notifications In moodle

Receiving Webhook Notifications In moodle

by Zuheb A -
Number of replies: 2

Hi


Need help in creating webhook receiver in moodle

Workflow:

am listing my moodle courses in third party application if anybody wants to enroll to my course from third party application my moodle will have to get webhook message which contains user details and course details and then I want to create a user in my moodle application.

Question:

How to receive webhook notifications in my moodle. Third-party application asking only webhook URL of moodle.

how to create webhook URL in moodle. will it work if i create a new moodle external REST API?


Regards

Zuheb


 

Average of ratings: -
In reply to Zuheb A

Re: Receiving Webhook Notifications In moodle

by Benjamin Ellis -
Picture of Particularly helpful Moodlers

Hi,

Yes, creating a web services plugin, REST should resolve you issue.  Should not be too difficult to do.



Average of ratings: Useful (1)
In reply to Zuheb A

Re: Receiving Webhook Notifications In moodle

by B G -
I recently installed a webhook plugin from a guy name Valentin. Search the plugins library. It has many triggers for numerous events.
Average of ratings: Useful (1)