---
title: "POST /user_ticket"
method: POST
path: "/user_ticket"
tags: ["user_ticket"]
---

# POST /user_ticket

`POST /user_ticket`

## Query parameters

- `select` string

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none' | 'resolution=ignore-duplicates' | 'resolution=merge-duplicates'

## Request body

- UserTicket
  - `id` string, uuid, required — Note: This is a Primary Key.<pk/>
  - `created_at` string, timestamp with time zone, required
  - `ticket_id` string, uuid — Note: This is a Foreign Key to `ticket.id`.<fk table='ticket' column='id'/>
  - `order_id` string, uuid — Note: This is a Foreign Key to `order.id`.<fk table='order' column='id'/>
  - `user_id` string, uuid — Note: This is a Foreign Key to `profile.id`.<fk table='profile' column='id'/>
  - `name` string, text
  - `description` string, text
  - `event_id` string, uuid — Note: This is a Foreign Key to `event.id`.<fk table='event' column='id'/>
  - `event_name` string, text
  - `secret` string, uuid, required
  - `used` boolean, required
  - `updated_at` string, timestamp with time zone, required
  - `approval_status` 'pending' | 'approved' | 'denied', public.user_ticket_approval_status_enum, required
  - `notes` string, text

## Response `201`

Created

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/versions/90ce877204f2/schema)
