{
    "title": "Webhook single event",
    "purpose": "Kupona sends one event to GHI for validation, duplicate checking, and processing.",
    "direction": "Kupona to GHI dashboard",
    "endpoint": "POST /api/kupona/webhook",
    "idempotency": "source_event_id is required. Re-sending the same event payload is skipped as a duplicate.",
    "payload": {
        "event_type": "consultation_events",
        "source_event_id": "KUP-CON-55802",
        "employee_id": "PS-10042",
        "occurred_at": "2026-08-14T14:35:00+02:00",
        "data": {
            "referral_id": "REF-02400",
            "consultation_id": "CON-55802",
            "appointment_status": "Attended",
            "sessions_completed": 2
        }
    }
}