Skip to main content
POST
Create Ticket Endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
acknowledged
boolean
default:false
category
enum<string>
default:technical
Available options:
technical,
account,
billing,
bug,
feature_request,
other
clarification_answers
ClarificationAnswer · object[] | null
cluster_id
string<uuid> | null
description
string | null
Maximum string length: 10000
environment
Environment · object | null
review_id
string<uuid> | null
severity
enum<string> | null
Available options:
low,
medium,
high,
critical
source
enum<string>
default:portal
Available options:
portal,
api,
cli,
agent
subject
string | null
Maximum string length: 200

Response

Successful Response

ai_review_status
enum<string>
required
Available options:
pending,
passed,
flagged
category
enum<string>
required
Available options:
technical,
account,
billing,
bug,
feature_request,
other
created_at
string<date-time>
required
description
string
required
id
string<uuid>
required
organisation_id
string<uuid>
required
source
enum<string>
required
Available options:
portal,
api,
cli,
agent
status
enum<string>
required
Available options:
pending_review,
open,
triaging,
in_progress,
waiting_customer,
resolved,
closed
subject
string
required
ticket_number
integer
required
updated_at
string<date-time>
required
ai_summary
string | null
attachments
TicketAttachment · object[]
cluster_id
string<uuid> | null
cluster_name
string | null
comments
TicketComment · object[]
is_tracked_by_team
boolean
default:false
severity
enum<string> | null
Available options:
low,
medium,
high,
critical