API
TypeScript
Arguments
An object containing:fileName : string
The name of your webhook file WITHOUT the .webhook.ts
suffix.
Returns
AWebhookHandler
object containing:
id : string
The unique identifier for the webhook handler.
You may need this for calls to
updateWebhookHandler()
or
deleteWebhookHandler()
.