getWebhook()
Home > @gooddata/sdk-backend-spi > IOrganizationNotificationChannelService > getWebhook
IOrganizationNotificationChannelService.getWebhook() 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.
Get webhook by id
Signature:
getWebhook(id: string): Promise<IWebhookDefinitionObject>;
Parameters
Parameter | Type | Description |
---|---|---|
id | string | id of the webhook |
Returns:
Promise<IWebhookDefinitionObject>
Promise resolved with webhook definition or undefined if not found.