Tamio

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

title string*

Updated title of the ticket category

language string*

Language code for the category content (e.g. en, de, fr)

automated_reply string

Auto-reply message sent when tickets are created in this category. Set to null to disable.

teammate_id string

UUID of the teammate to auto-assign tickets in this category to

billing_plans array of string

Billing plan UUIDs that have access to this category. Pass an empty array to allow all plans.

subcategories array of string

Subcategory names for organizing tickets within this category

Example
{
  "title": "Billing & Payments",
  "language": "en",
  "automated_reply": "Thank you for contacting us about billing.",
  "teammate_id": "770e8400-e29b-41d4-a716-446655440000",
  "subcategories": [
    "Payment Failed",
    "Refund Request",
    "Subscription Issues"
  ]
}

Responses

200 Ticket category updated successfully

Ticket category updated successfully

status integer
ticket_category TicketCategory
400 Validation or business-logic error.
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 "title": "Billing & Payments",
9 "language": "en",
10 "automated_reply": "Thank you for contacting us about billing.",
11 "teammate_id": "770e8400-e29b-41d4-a716-446655440000",
12 "subcategories": [
13 "Payment Failed",
14 "Refund Request",
15 "Subscription Issues"
16 ]
17 })
18});
19const 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": "770e8400-e29b-41d4-a716-446655440000",
    "auto_reply": "Thank you for contacting us.",
    "subcategories": [
      "Payment Failed",
      "Refund Request"
    ],
    "billing_plans": [
      "550e8400-e29b-41d4-a716-446655440001",
      "550e8400-e29b-41d4-a716-446655440002"
    ],
    "created_at": 1700000000
  }
}