---
title: "Create Ticket"
method: POST
path: "/v1/public/tickets"
tags: ["Tickets"]
---

# Create Ticket

`POST /v1/public/tickets`

## Request body

- PublicTicketRequest
  - `external_id` string, nullable
  - `title` string, nullable
  - `description` string, nullable
  - `status` string, nullable
  - `priority` string, nullable
  - `visibility` string, nullable
  - `stage_key` string, nullable
  - `resolution_due_at` string, date-time, nullable
  - `first_response_due_at` string, date-time, nullable
  - `owner_id` string, nullable
  - `deal_ids` string[], nullable

## Response `200`

OK

- PublicTicketResponse
  - `ok` boolean, required
  - `status` string, required
  - `ticket_id` string, nullable
  - `external_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/sankahq/apis/ninjaapi.md) · [All operations](https://skmtc.net/sankahq/apis/ninjaapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sankahq/ninjaapi/revisions/c273ff62266a/schema)
