body urlstringrequiredbody event_typesarrayrequiredbody descriptionstringbody batch_maxintegerdefault: 50body include_contactsbooleandefault: false1234curl -X POST "https://api.v2.dealmachine.com/v1/webhooks" \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/hooks/dealmachine", "event_types": ["prospect.added", "prospect.lifecycle_changed"], "description": "CRM sync" }'
123456789101112131415161718{ "data": { "id": "whk_12", "url": "https://example.com/hooks/dealmachine", "description": "CRM sync", "event_types": ["prospect.added", "prospect.lifecycle_changed"], "consumer": "custom", "batch_max": 50, "include_contacts": false, "is_active": true, "disabled_reason": null, "disabled_at": null, "secret": "whsec_3kP9…k9Qz", "secret_last4": "k9Qz", "previous_secret_expires_at": null, "health": { "consecutive_failures": 0, "failing_since": null, "last_success_at": "2026-08-26T16:21:03.000Z", "last_failure_at": null, "last_response_status": 200 }, "created_at": "2026-08-26T10:00:00.000Z", "updated_at": "2026-08-26T10:00:00.000Z" } }