---
title: "Create Ticket"
method: POST
path: "/tickets/create"
tags: ["tickets"]
---

# Create Ticket

`POST /tickets/create`

This endpoint creates a new Ticket.

## Headers

- `x-phone` string

## Request body

- object
  - `chat_id` string, required — - The unique id of the chat - For individual chats, this would be the country_code + number (e.g., 918527184400), followed by @c.us - For groups, this would end with @g.us
  - `subject` string, required — - Updates the subject of the ticket
  - `labels` string — - A comma-separated list of labels to be assigned to the contacts. All labels are case-insensitive. - If any label currently does not exist, it will be created - Note: This replaces all the current labels of the contact
  - `assignee` string — - Update the assignee of the ticket. Must be an email of a user in the organization
  - `quoted_message_id` string — - The quoted message id for the ticket
  - `due_date` string — - Updates the due date of the ticket. - Must be a string that can be parsed to a date
  - `priority` string — - Updates the priority of the ticket. - Only accepts the following values - 1,2,3,4 - 1 = Low - 2 = Medium - 3 = High - 4 = Urgent
  - `status` string — - Updates the status of the ticket. - Only accepts the following values - open, inprogress, closed, archived

## Response `200`

200 OK

- object — The response is a ticket object. Refer to [the ticket object here](/api-reference/objects/the-ticket-info-object)

---

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