Create a new webhook endpoint. Returns the webhook configuration including a secret for signature verification. The secret is only shown once. Requires API key with WEBHOOK_WRITE.
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
The webhook endpoint URL (must be HTTPS)
Array of event types to subscribe to (e.g., email.generation.completed)
1Optional description for the webhook
Optional custom headers to include in webhook requests