createWebhook()
Home > @gooddata/sdk-backend-spi > IOrganizationNotificationChannelService > createWebhook
IOrganizationNotificationChannelService.createWebhook() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Create new webhook
Signature:
createWebhook(webhook: IWebhookDefinition): Promise<IWebhookDefinitionObject>;
Parameters
Parameter | Type | Description |
---|---|---|
webhook | IWebhookDefinition | definition of the webhook |
Returns:
Promise<IWebhookDefinitionObject>
Promise resolved with created webhook.