Create subscription
Creates a new webhook subscription for a specific external business event, configuring the notification endpoint and event details.
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Used for API versioning. More details.
Request
The full URL endpoint that will receive webhook notifications when the specified event occurs.
Represents the specific name of the external business event that triggers the webhook notification.
Unique identifier (UUID) of the application associated with the webhook subscription. Use only for webhooks included in custom applications (custom webhooks).
Specifies the version of the webhook event. If no version is provided, it defaults to the standard version ‘1.0’.
The clientState
property must be provided in the POST
requests bodies. clientState
is included in the body of a webhook notification and can be used as an opaque token; a shared secret, enabling the subscriber to verify notifications. The value can be any string up to 50 characters, we recommend using a unique value for each subscription (ideally as a UUID or a base64 encoded string etc.).
Response
An internal property (a version control mechanism used by OData to manage concurrency and track changes in resource entities).
Unique identifier (UUID) for a webhook subscription. Required for retrieving or deleting an existing webhook subscription through the API.
Unique identifier (UUID) of the application associated with the webhook subscription. Use only for webhooks included in custom applications (custom webhooks).
Represents the specific name of the external business event that triggers the webhook notification.
Name of the company within the Business Central environment for which the webhook subscription is configured.
Unique identifier (UUID) representing the user who created or modified the webhook subscription.
The full URL endpoint that will receive webhook notifications when the specified event occurs.
The clientState
property must be provided in the POST
requests bodies. clientState
is included in the body of a webhook notification and can be used as an opaque token; a shared secret, enabling the subscriber to verify notifications. The value can be any string up to 50 characters, we recommend using a unique value for each subscription (ideally as a UUID or a base64 encoded string etc.).
Defines the type of subscription supported by the webhook system. Currently, only the “Webhook” type is valid.
Specifies the version of the webhook event. If no version is provided, it defaults to the standard version ‘1.0’.
Unique identifier (UUID) representing the user who created or modified the webhook subscription.
Unique identifier (UUID) representing the user who created or modified the webhook subscription.