Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/cal-com

src/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)
}