Ticket Management
Create Ticket
Create a new support ticket
POST
Documentation Index
Fetch the complete documentation index at: https://docs.telemetron.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Creates a new support ticket in Telemetron. Behavior:- Requires either
customerEmailorcustomerIdto associate the ticket with a customer - If
customerEmailis provided and no matching customer exists, a new customer is created automatically - Tickets are automatically categorized and routed based on your organization’s rules
Authentication
Your organization’s API key
Request Body
Ticket title (max 255 characters)
Detailed description of the issue or request
Ticket priority. One of:
low, medium, high, urgentCustomer’s email address. If the customer doesn’t exist, one will be created automatically. Either
customerEmail or customerId is required.Existing Telemetron customer ID. Use this if you already have the customer’s ID from a previous API call. Either
customerEmail or customerId is required.Category name for ticket routing. Must match an existing category in your organization. If not provided or not matched, the ticket will be categorized automatically by AI.
Conversation history to include with the ticket. Each message has a
role (customer, agent, or bot) and content string. If no description is provided, messages are used to generate the ticket description automatically. The first customer message is also included in Slack notifications.Response
Indicates if the operation was successful
The unique identifier for the created ticket
Description of the operation result
Examples
Create Ticket with Customer Email
Create Ticket with Customer ID
Create Ticket with Messages
Response
Status Codes
| Code | Description |
|---|---|
| 200 | Ticket created successfully |
| 400 | Invalid request (missing required fields, invalid JSON payload, or invalid priority) |
| 401 | Invalid or missing API key |
| 404 | Customer not found (when using customerId) |
| 500 | Internal server error |