Node.js SDK
Update Webhook
Update a webhook configuration. Requires API key with webhook:write.
PATCH
Node.js SDK
Authorizations
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Path Parameters
Webhook ID (MongoDB ObjectId)
Pattern:
^[0-9a-fA-F]{24}$Body
application/json
The webhook endpoint URL (must be HTTPS)
Array of event types to subscribe to
Minimum array length:
1Whether the webhook is active
Optional description for the webhook
Optional custom headers to include in webhook requests