---
title: "Create support ticket"
method: POST
path: "/ticket/create"
tags: ["Support"]
---

# Create support ticket

`POST /ticket/create`

Use this BillingServ API endpoint to create support ticket. Review the response for the operation result or validation errors.

## Request body

- object
  - `subject` string, required — Ticket subject. Letters, numbers, spaces, and basic punctuation only.
  - `user_id` integer, required — ID of the customer the ticket belongs to.
  - `message` string, required — Initial ticket message. Standard rich text formatting is allowed; emojis and unsupported HTML tags are rejected.
  - `support_department` string, required — Support department the ticket is filed under. Required when departments are configured.
  - `priority` 'low' | 'medium' | 'high' | 'emergency'
  - `status` 'open' | 'pending' | 'close' | 'awaiting_reply'
  - `assignee_by` integer — Staff user ID to assign the ticket to.

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `401` — Missing or invalid API key
- `403` — Authenticated key does not have permission for this endpoint
- `422` — Validation error

---

[API](https://skmtc.net/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.net/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
