import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const eventListResponse of client.webhooks.events.list()) { console.log(eventListResponse.id);}
Returns recent webhook events across all registered endpoints.
GET
/
webhooks
/
events
JavaScript
import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const eventListResponse of client.webhooks.events.list()) { console.log(eventListResponse.id);}