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

# POST /ticketCategory

`POST /ticketCategory`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/ticketCategory`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/ticketCategory/post.ts> (a function with typed inputs; its response is checked against the schema)

create a ticketCategory

## Query parameters

- `dryRun` boolean

## Request body

- TicketCategory
  - `id` string
  - `version` string
  - `active` boolean
  - `createdDate` integer
  - `customerPortals` OnlyId[]
    - `id` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `parentTicketCategoryId` string
  - `path` string
  - `pseudoCategory` boolean
  - `published` boolean
  - `visibleInCustomerPortal` boolean

## Response `201`

ticketCategory create response

- TicketCategory
  - `id` string
  - `version` string
  - `active` boolean
  - `createdDate` integer
  - `customerPortals` OnlyId[]
    - `id` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `parentTicketCategoryId` string
  - `path` string
  - `pseudoCategory` boolean
  - `published` boolean
  - `visibleInCustomerPortal` boolean

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/ticketCategory/post.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
