---
title: "Create a Ticket"
method: POST
path: "/api/record/cases"
---

# Create a Ticket

`POST /api/record/cases`

## Request body

- object
  - `title` string, required — Ticket title (Primary)
  - `accountid` string — The related account's GUID.
  - `accountproductid` string — The related asset's GUID.
  - `assignedtoid` string — The GUID of the system user the task is assigned to.
  - `casesourcecode` integer — Ticket source (Picklist)
  - `casetypecode` integer — Ticket type (Picklist)
  - `contactid` string — The related contact's GUID.
  - `description` string — Description of up to 4,000 characters.
  - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
  - `prioritycode` integer — Priority (PIcklist)
  - `statecode` integer — Ticket state, such as open or closed (Picklist).
  - `statuscode` integer — Status (Picklist)

## Response `200`

200

## Other responses

- `400` — 400
- `401` — 401

---

[API](https://skmtc.dev/fireberry/apis/fireberry-api.md) · [All operations](https://skmtc.dev/fireberry/apis/fireberry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fireberry/fireberry-api/revisions/ad6720f3920f/schema)
