Server code that can be executed when called via HTTP from a third party
src/webhooks
directory.webhook.ts
(or .webhook.js
) suffix.export default async function
that:
createWebhookHandler
– creates a webhook handlerupdateWebhookHandler
– updates a webhook handlerdeleteWebhookHandler
– deletes a webhook handler