{
"id": "df980fc8-b6db-4820-bf22-2969482d106d",
"name": "Maria Rodriguez",
"email": "[email protected]",
"phone": "+56912345678",
"platform": "whatsapp",
"created_at": "2024-01-15T10:30:00.000Z",
"last_message_at": "2024-09-30T14:25:33.000Z",
"last_message_content": "Gracias por tu ayuda!",
"chat_status": "ATTENDED",
"is_chat_read": true,
"blocked": false,
"client_id": "550e8400-e29b-41d4-a716-446655440000",
"ai_customer_id": "660e8400-e29b-41d4-a716-446655440001",
"default_stage_id": "770e8400-e29b-41d4-a716-446655440002",
"active_ticket_v2_id": "880e8400-e29b-41d4-a716-446655440003",
"last_closed_ticket_v2_id": "990e8400-e29b-41d4-a716-446655440004",
"current_integration_data": {
"crm_id": "12345",
"last_sync": "2024-09-30T12:00:00.000Z"
},
"metadata": {
"company": "Acme Corp",
"plan": "Premium",
"customer_since": "2024-01-15",
"preferred_language": "es"
},
"active_ticket": {
"id": "880e8400-e29b-41d4-a716-446655440003",
"ai_contact_id": "df980fc8-b6db-4820-bf22-2969482d106d",
"status": "IN_PROGRESS",
"created_at": "2024-09-30T10:00:00.000Z",
"updated_at": "2024-09-30T14:25:33.000Z",
"ticket_summary": "Customer inquiring about premium plan upgrade options and pricing",
"metadata": {
"priority": "high",
"category": "sales",
"assigned_agent": "John Doe"
}
},
"last_closed_ticket": {
"id": "990e8400-e29b-41d4-a716-446655440004",
"ai_contact_id": "df980fc8-b6db-4820-bf22-2969482d106d",
"status": "CLOSED",
"created_at": "2024-09-25T09:00:00.000Z",
"updated_at": "2024-09-25T15:30:00.000Z",
"ticket_summary": "Billing inquiry resolved - payment processed successfully",
"metadata": {
"priority": "medium",
"category": "billing",
"resolution_time": "6.5 hours"
}
}
}