Skip to main content

Method Signature

align.webhooks.list(): Promise<WebhookListResponse>

Example

const response = await align.webhooks.list();

for (const webhook of response.items) {
  console.log(`ID: ${webhook.webhook_id}`);
  console.log(`URL: ${webhook.url}`);
  console.log(`Events: ${webhook.events.join(", ")}`);
}