Update a ticket category

POST https://api.tamio.com/v2/agency/ticket-categories/update/{uuid}

Updates an existing ticket category including title, language, subcategories, teammate assignment, and billing plan restrictions.

Path Parameters

uuid string*

Body Parameters

uuid string*

UUID of the category to update

title string*
language string*
automated_reply string
teammate_id string
billing_plans array of string
subcategories array of string

Responses

200 Ticket category updated successfully

Ticket category updated successfully

status integer
ticket_category TicketCategory
400 Validation or business-logic error. Possible `error_code` values:
401 Unauthorized – invalid or missing Bearer token
/agency/ticket-categories/update/{uuid}
1const response = await fetch("https://api.tamio.com/v2/agency/ticket-categories/update/{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_category": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "object": "ticket_category",
    "title": "Billing Issues",
    "language": "en",
    "teammate_id": "string",
    "auto_reply": "Thank you for contacting us.",
    "subcategories": [
      "Payment Failed",
      "Refund Request"
    ],
    "billing_plans": [],
    "ai_replies": false,
    "ai_prompt": "string",
    "ai_tone": "string",
    "ai_word_count": 0,
    "ai_manual_approvals": false,
    "created_at": 1700000000
  }
}