---
title: "Create Support Ticket"
method: POST
path: "/v1/support/tickets"
tags: ["Support"]
---

# Create Support Ticket

`POST /v1/support/tickets`

## Request body

- CreateTicketRequest
  - `subject` string, required
  - `category` 'technical' | 'billing' | 'feature' | 'onboarding' | 'other'
  - `description` string, required
  - `priority` 'low' | 'medium' | 'high' | 'urgent'
  - `scope` 'global' | 'organization'
  - `organization_id` string, nullable

## Response `200`

Successful Response

- TicketResponse
  - `ticket_id` string, required
  - `organization_id` string, nullable
  - `subject` string, required
  - `category` 'technical' | 'billing' | 'feature' | 'onboarding' | 'other', required
  - `priority` 'low' | 'medium' | 'high' | 'urgent', required
  - `status` 'open' | 'pending' | 'resolved' | 'closed', required
  - `created_by` SupportActor — Lightweight snapshot of who created a ticket/message.
    - `user_id` string, nullable
    - `email` string, nullable
    - `name` string, nullable
  - `message_count` integer
  - `last_message_at` string, date-time, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `messages` MessageResponse[], nullable
    - `message_id` string, required
    - `ticket_id` string, nullable
    - `organization_id` string, nullable
    - `author_type` 'customer' | 'mixpeek', required — Who wrote a message — the customer or the Mixpeek team.
    - `author` SupportActor — Lightweight snapshot of who created a ticket/message.
      - `user_id` string, nullable
      - `email` string, nullable
      - `name` string, nullable
    - `body` string, required
    - `attachments` SupportAttachment[]
      - `filename` string, required
      - `url` string, nullable
      - `storage_uri` string, nullable
      - `mime_type` string, nullable
      - `size_bytes` integer, nullable
    - `created_at` string, date-time, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/versions/23e05292e326/schema)
