curl --location -g --request POST 'https://.coneix.com//Coneix2/api/v1/tickets' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": 1,
"registering_person_id": 1,
"responsible_id": 1,
"description": "Description is required",
"priority": 2, // 1. Low, 2. Medium, 3. High
"cause": "test 12345",
"client_id": 1192,
"project_id": 154,
"date": "2025-01-10",
"status": 1, // Get tickets status endpoint
"send_notifications": true,
"category": 1 // Optional - Get tickets category endpoint
}'{
"status": "success",
"message": "Ticket created successfully",
"data": {
"id": 7556,
"reference": "26.026",
"category": "3",
"category_name": "Incidència",
"type": 1,
"type_name": "2.Administrativa",
"status": 1,
"status_name": "1.Pendiente Solución",
"priority": 1,
"date": "2025-01-10",
"proposed_solution_date": "",
"solution_date": "",
"closing_date": "",
"created_at": "2026-01-05",
"description": "Description is required",
"cause": "test 12345",
"solution": "",
"closing_observations": "",
"is_closed": false,
"registering_person_id": 1,
"registering_person_name": "Técnico Coneix",
"responsible_id": 1,
"responsible_name": "Técnico Coneix",
"client_id": 337,
"client_name": "669 - CONEIX",
"projects": [],
"team": []
}
}