JavaScript
import Migma from 'migma'; const migma = new Migma('YOUR_API_KEY'); const { data, error } = await migma.webhooks.list();
{ "success": true, "data": { "webhooks": [ { "id": "<string>", "url": "<string>", "events": [ "<string>" ], "active": true, "description": "<string>", "successCount": 123, "failureCount": 123, "lastTriggeredAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ], "total": 123 }, "error": "<string>" }
List all webhooks for the authenticated user. 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.
Webhooks list
Show child attributes
Was this page helpful?