curl -X PATCH "https://api.foxreach.io/api/v1/webhooks/cwh_abc123" \ -H "X-API-Key: otr_your_key" \ -H "Content-Type: application/json" \ -d '{ "events": ["email.sent", "reply.received", "lead.created"], "isActive": true }'
{ "data": { "id": "cwh_abc123", "url": "https://your-app.com/webhooks/outreach", "isActive": true, "events": ["email.sent", "reply.received", "lead.created"], "lastDeliveredAt": "2025-01-15T10:30:00", "consecutiveFailures": 0, "createdAt": "2025-01-01T10:00:00", "updatedAt": "2025-01-16T09:00:00" } }
Update an existing webhook’s URL, events, or active status.
404
422