OpenAPI Specification
openapi: 3.1.0
info:
title: Telemetron External API (ext-v1) Customer Ticket API
version: ext-v1
description: RESTful API for syncing customer, device, and ownership-mapping data into Telemetron so it can correlate device telemetry with customers for AI-powered hardware support. Faithfully modeled from the published Telemetron API reference at https://docs.telemetron.ai/api-reference — every path, parameter, and response field below is transcribed from the docs; no fields were invented.
contact:
name: Telemetron Support
email: support@telemetron.ai
url: https://docs.telemetron.ai
x-generated: '2026-07-21'
x-method: generated
x-source: https://docs.telemetron.ai/api-reference/introduction
servers:
- url: https://admin.telemetron.ai/api/ext-v1
description: Telemetron External API (production)
security:
- apiKeyAuth: []
tags:
- name: Ticket
description: Create support tickets.
paths:
/ticket/createTicket:
post:
operationId: createTicket
tags:
- Ticket
summary: Create a support ticket
description: Creates a support ticket. Requires either customerEmail or customerId; an unknown customerEmail auto-creates the customer. Tickets are auto-categorized and routed by the organization's rules.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- title
properties:
title:
type: string
maxLength: 255
description:
type: string
priority:
type: string
enum:
- low
- medium
- high
- urgent
default: medium
customerEmail:
type: string
format: email
customerId:
type: string
category:
type: string
messages:
type: array
items:
type: object
properties:
role:
type: string
enum:
- customer
- agent
- bot
content:
type: string
responses:
'200':
description: Ticket created.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
components:
schemas:
Error:
type: object
properties:
error:
type: string
description: Human-readable error description.
responses:
BadRequest:
description: Bad request (invalid/missing parameters).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ServerError:
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Unauthorized (invalid/missing API key).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: 'Per-organization API key issued from the Telemetron dashboard (Settings > Integrations). The same key authenticates the REST API and the MCP server (as an Authorization: Bearer token for MCP).'