GET /tickets/{id}
Retrieve a specific ticket by ID. The response does not include comments.
Request Examples
curl -X GET "https://www.tickethub.dev.br/api/v1/tickets/1" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Accept: application/json"
Sample Response
{
"id": 1,
"title": "Fix Login Bug",
"description": "Login fails for admin accounts.",
"status": "open",
"priority": "high",
"author_id": 3,
"author_type": "App\\Models\\TeamRobot",
"assigned_id": 5,
"team_id": 2,
"created_at": "2026-01-29T12:00:00.000Z",
"updated_at": "2026-01-29T12:00:00.000Z"
}