Show examples in:
    List all webhooks

    Returns

    Returns an array of webhook resource objects.

    Examples

    Example Basic example
    import { buildClient } from '@datocms/cma-client-node';
    async function run() {
    const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
    const webhooks = await client.webhooks.list();
    webhooks.forEach((webhook) => {
    console.log(webhook);
    });
    }
    run();