Create a ticket category
POST
https://api.tamio.com/v2/agency/ticket-categories/create
Creates a new ticket category to organize support requests. Categories can be restricted to specific billing plans and have auto-assigned teammates.
Body Parameters
title
string*
Category title
language
string*
Language code for the category content
automated_reply
string
Auto-reply message when tickets are created in this category
teammate_id
string
UUID of teammate to auto-assign tickets to
billing_plans
array of string
Billing plan UUIDs that have access to this category
subcategories
array of string
Subcategory names within this category
Example
{
"title": "Billing Issues",
"language": "en",
"automated_reply": "Thank you for contacting us about billing.",
"subcategories": [
"Payment Failed",
"Refund Request"
]
}
Responses
200
Ticket category created successfully
Ticket category created successfully
status
integer
ticket_category
TicketCategory
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
10239 | Category quota exceeded |
10253 | Agency domain not validated |
1002 | Teammate not found |
10322 | One or more billing plan UUIDs not found |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string