Add a reply to a ticket

POST https://api.tamio.com/v2/tickets/add-reply/{uuid}

Appends a merchant reply to the ticket's conversation history. Works on both open and closed tickets.

Path Parameters

uuid string*

UUID of the ticket to reply to

Body Parameters

reply string*

Reply message content

Responses

200 Reply added successfully

Reply added successfully

status integer
ticket Ticket
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/tickets/add-reply/{uuid}
1const response = await fetch("https://api.tamio.com/v2/tickets/add-reply/{uuid}", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200,
  "ticket": {
    "id": "string",
    "object": "ticket",
    "title": "Payment not processing",
    "is_open": true,
    "created_at": 1699123456,
    "updated_at": 1699123789,
    "customer": {},
    "teammate_id": "string",
    "replies": [],
    "domain_id": "string",
    "domain": "shop.example.com",
    "language": "en"
  }
}