Ticket Hub

GET /tickets

Retrieve all tickets for the robot's team.

Request Examples

curl -X GET "https://www.tickethub.dev.br/api/v1/tickets" \
  -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"
  }
]