Skip to main content

Responses

To get the responses for a ticket in Ticaga:

URL: https://yourdomain.com/api/responses/get

Type: GET

{
  "responses": [
    {
      "id": 4,
      "user_id": 4,
      "ticket_number": 2,
      "content": "Et animi corrupti ut atque incidunt dolores. Modi odio voluptas corporis explicabo sunt odio. Eveniet quidem voluptas animi atque. Vel quae inventore esse facilis maiores qui harum. Esse enim dolores et et.",
      "organize": "ticket",
      "is_note": 0,
      "employee_response": 1,
      "ip_address": "45.35.88.228",
      "created_at": "2025-07-17T18:00:13.000000Z",
      "updated_at": null,
      "user_name": "Harry Marks",
      "user_email": "charles.renner@example.net"
    },
    {
      "id": 5,
      "user_id": 2,
      "ticket_number": 2,
      "content": "Et temporibus nisi voluptas accusantium provident. Nulla maxime ipsum totam voluptas sunt illo. Nihil minus quod laboriosam placeat qui ad. A fugiat repudiandae quia ab error rem fugiat.",
      "organize": "ticket",
      "is_note": 0,
      "employee_response": 0,
      "ip_address": "42.199.111.145",
      "created_at": "2025-07-17T18:00:13.000000Z",
      "updated_at": null,
      "user_name": "Prof. Christelle Bechtelar",
      "user_email": "briana56@example.net"
    },
    {
      "id": 6,
      "user_id": 4,
      "ticket_number": 2,
      "content": "Sunt voluptate omnis eum libero et qui. Debitis et est delectus non totam tenetur. Eum rerum aliquam voluptatem ullam reprehenderit nihil dignissimos.",
      "organize": "ticket",
      "is_note": 0,
      "employee_response": 1,
      "ip_address": "148.126.153.97",
      "created_at": "2025-07-17T18:00:13.000000Z",
      "updated_at": null,
      "user_name": "Harry Marks",
      "user_email": "charles.renner@example.net"
    }
  ]
}

ticket_id: Ticaga's ticket ID.

If there's no ticket found, you'll get this error:

{
  "error": "Ticket not found"
}

If there's no responses for the ticket, you'll get this error:

{
  "error": "No responses found for this ticket."
}