Webhook is a new HTTP-based callback function in iSpring Learn LMS that allows you to receive event notifications in the format of a POST request. You no longer need to send API requests or poll the server. The server will automatically send the relevant payload to your webhook URL when the specified event occurs. You can simply track the changes.
...
- The user registers a subscriber and specifies the URL to which messages will be sent. An account can have multiple followers.
Use the request: POST /webhook/register - The user confirms the URL with a verification code. After receiving the code for the specified URL, the user confirms the URL.
Use requests: POST /webhook/code/send and POST /webhook/confirm
At this stage, the integration is active. - Once created, the subscriber is active and they can receive messages immediately. A subscriber can be enabled and disabled.
Use requests: POST /webhook/disable and POST /webhook/enable - A subscriber can be permanently deleted.
Use request: POST /webhook/remove - A subscriber’s settings can be changed. If you change the URL, it should be confirmed with a code.
Use request: POST /webhook/settings/change - A user can submit a subscriber to be notified of specific iSpring Learn LMS events. Within the same account, different subscribers can be subscribed to be notified of different events. A subscriber can only be subscribed to one type of event.
Use the request: POST /webhook/subscribe - The user can unsubscribe the subscriber from the subscription.
Use the request: POST /webhook/unsubscribe - The user can get a list of the subscriber's subscriptions and information about the subscriber.
Use requests: GET /webhook/subscription/list and GET /webhook/subscriber/info
...