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 webhookListResponse of client.webhooks.list()) {
console.log(webhookListResponse.id);
}
Returns all registered webhook endpoints for the organization.
GET
/
webhooks
JavaScript
Copy
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 webhookListResponse of client.webhooks.list()) {
console.log(webhookListResponse.id);
}