Create a ticket
POST
https://api.tamio.com/v2/agency/tickets/create
Creates a new support ticket on behalf of a client. The client must exist and belong to the agency.
Body Parameters
client_id
string*
UUID of the client creating the ticket
title
string*
Ticket subject/title
description
string*
Detailed description of the issue
category
string*
UUID of the ticket category
subcategory
string
Subcategory for further classification
assets
array of string
Asset UUIDs to attach to the ticket
Example
{
"client_id": "550e8400-e29b-41d4-a716-446655440001",
"title": "Payment processing issue",
"description": "Client reports payment failures on checkout",
"category": "660e8400-e29b-41d4-a716-446655440000"
}
Responses
200
Ticket created successfully
Ticket created successfully
status
integer
ticket
Ticket
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
400 | Agency domain not validated |
10320 | Client does not exist |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string