# Get Ticket Replies

`GET /api/tickets/{id}/replies`

Returns the full conversation on a ticket. The ticket record itself carries only the opening message and the lastreply timestamp, so this is the endpoint to call to read what has actually been said. Replies are ordered by date, following the "ticket_replies_order" setting.

- **Group:** Tickets
- **Since:** v3.1.0
- **Authentication:** `authtoken` header, created under Setup > API > API Management
- **HTML version:** /apiguide/tickets/get-ticket-replies/

## Headers

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `authtoken` | String | **required** | Authentication token, generated from admin area |

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | Number | **required** | Ticket unique ID (URL segment). |

## Example request

```bash
curl -X GET "https://yoursite.com/api/tickets/123/replies" \
  -H "authtoken: YOUR_API_TOKEN"
```

## Success response

### Success-Response:

```json
HTTP/1.1 200 OK
[
  {
    "id": "12",
    "message": "Thank you, we are looking into this now.",
    "admin": "5",
    "contactid": null,
    "submitter": "John Doe",
    "date": "2026-09-10 11:04:21",
    "attachments": []
  }
]
```

## Error responses

### Error-Response:

```json
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Ticket not found"
}
```

---

Perfex CRM REST API by Themesic Interactive. Full reference: /apiguide/
