Reply to a ticket

POST https://api.tamio.com/v2/agency/tickets/reply/create/{uuid}

Adds a reply to an existing support ticket. Optionally attach up to 5 assets to the reply. The ticket must exist and belong to the agency's domain.

Path Parameters

uuid string*

UUID of the ticket to reply to

Body Parameters

uuid string*

UUID of the ticket

reply string*

Reply message content

assets array of string

Asset UUIDs to attach to the reply

Responses

200 Reply added successfully

Reply added successfully

status integer
ticket Ticket
400 Validation or business-logic error. Possible `error_code` values:
401 Unauthorized – invalid or missing Bearer token
/agency/tickets/reply/create/{uuid}
1const response = await fetch("https://api.tamio.com/v2/agency/tickets/reply/create/{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 processing issue",
    "description": "Client reports payment failures on checkout",
    "is_open": true,
    "subcategory": "Payment Failed",
    "teammate_id": 0,
    "language": "en",
    "created_at": 1700000000,
    "updated_at": 0,
    "replies": []
  }
}