← Public packages
@kentcdodds/cal-com
Cal.com helpers for booking pages, event types, slots, and webhooks.
src/list-webhooks.js
14 lines · 543 B · JavaScriptimport { listWebhooks } from './cal-com.js'
/**
* List Cal.com webhook subscriptions for the authenticated account.
* @param {Object} [input] Optional query filters forwarded to `/webhooks`.
* @returns {Promise<unknown>} Webhook list payload.
* @example
* import listWebhooks from 'kody:@kentcdodds/cal-com/list-webhooks'
* const result = await listWebhooks()
* // => [{ id: 1, subscriberUrl: 'https://...', triggers: [...] }]
*/
export default async function listWebhooksEntrypoint(input = {}) {
return await listWebhooks(input)
}