Skip to content
← Public packages

@kody/cal-com

Read booking pages, event types, slots, and webhooks on the caller's Cal.com account, with dry-run mutations.

FollowFork

Files

list-webhooks.js

14 lines · 536 B · JavaScript
import { 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:@kody/cal-com/list-webhooks'
 * const result = await listWebhooks()
 * // => [{ id: 1, subscriberUrl: 'https://...', triggers: [...] }]
 */
export default async function listWebhooksEntrypoint(input = {}) {
	return await listWebhooks(input)
}