JavaScript
import Migma from 'migma'; const migma = new Migma('YOUR_API_KEY'); const { data, error } = await migma.webhooks.getStats();
{ "success": true, "data": { "totalWebhooks": 123, "activeWebhooks": 123, "deliveries": { "total": 123, "success": 123, "failed": 123, "pending": 123 } }, "error": "<string>" }
Get aggregate webhook statistics including total counts and delivery metrics. Requires API key with WEBHOOK_READ.
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Webhook statistics
Show child attributes
Was this page helpful?