Webhooks are a way to create event-driven service integrations: instead of polling another system to check whether there are any changes in entities with webhooks, a client subscribes to events that will be pushed to it from the source system. Dynamics 365 Business Central supports webhooks, so a client can subscribe to a webhook notification (event) and will then automatically receive notifications if an entity in Dynamics 365 Business Central changes.
To use webhooks with Dynamics 365 Business Central, we need to perform the following steps:
- A subscriber must register the webhook subscription with Dynamics 365 Business Central by making a POST request to the subscription API and by passing a notification URL in the request body. The endpoint URL is as follows:
https://api.businesscentral.dynamics.com/v2.0/TENANTID...