{
    "app": "complia",
    "complaint_id": 5,
    "generated_at": "2026-11-13T10:48:38+00:00",
    "data": {
        "complaints": [
            {
                "id": 5,
                "token": "e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5",
                "complainant_name": "Sophie Legrand",
                "complainant_email": "s.legrand@example.com",
                "subject": "Staff member accessed my file without need",
                "details": "I believe a member of your staff who knows me personally has been looking at my customer record. I would like this investigated and access logs checked.",
                "reference": "",
                "status": "investigating",
                "received_at": "2026-10-26 10:00:00",
                "ack_due_at": "2026-11-24",
                "acknowledged_at": "2026-10-28 09:15:00",
                "outcome": "",
                "outcome_date": "",
                "ip": "",
                "created_at": "2026-10-26 10:00:00",
                "updated_at": "2026-10-26 10:00:00",
                "ack_email_opt_in": 0,
                "ack_email_sent_at": null,
                "owner_user_id": 0
            }
        ],
        "complaint_log": [
            {
                "id": 6,
                "complaint_id": 5,
                "action": "submitted",
                "note": "Complaint received via public form.",
                "at": "2026-10-26 10:00:00"
            },
            {
                "id": 7,
                "complaint_id": 5,
                "action": "status_acknowledged",
                "note": "Status changed to acknowledged.",
                "at": "2026-10-28 09:15:00"
            },
            {
                "id": 8,
                "complaint_id": 5,
                "action": "status_investigating",
                "note": "Status changed to investigating: access-log review requested from IT.",
                "at": "2026-10-30 15:40:00"
            },
            {
                "id": 9,
                "complaint_id": 5,
                "action": "note_added",
                "note": "IT confirmed audit logs cover the period in question. Review meeting booked.",
                "at": "2026-11-04 10:05:00"
            }
        ],
        "attachments": []
    }
}
