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

# POST /ticketAssignmentRule

`POST /ticketAssignmentRule`

## Request

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

create a ticketAssignmentRule

## Query parameters

- `dryRun` boolean

## Request body

- TicketAssignmentRule
  - `id` string
  - `version` string
  - `assignedPoolingGroupId` string
  - `assigneeUserId` string
  - `businessHolidaysId` string
  - `commercialLanguage` string
  - `createdDate` integer
  - `distributionChannel` string
  - `lastModifiedDate` integer
  - `parties` OnlyId[]
    - `id` string
  - `responsibleUserId` string
  - `targetStatusId` string
  - `ticketAssigneeType` 'CUSTOMER_RESPONSIBLE_PERSON' | 'POOL' | 'TICKET_AGENT'
  - `ticketCategoryId` string
  - `ticketChannelId` string
  - `ticketPriorityId` string
  - `ticketTypeId` string
  - `workScheduleProfileId` string

## Response `201`

ticketAssignmentRule create response

- TicketAssignmentRule
  - `id` string
  - `version` string
  - `assignedPoolingGroupId` string
  - `assigneeUserId` string
  - `businessHolidaysId` string
  - `commercialLanguage` string
  - `createdDate` integer
  - `distributionChannel` string
  - `lastModifiedDate` integer
  - `parties` OnlyId[]
    - `id` string
  - `responsibleUserId` string
  - `targetStatusId` string
  - `ticketAssigneeType` 'CUSTOMER_RESPONSIBLE_PERSON' | 'POOL' | 'TICKET_AGENT'
  - `ticketCategoryId` string
  - `ticketChannelId` string
  - `ticketPriorityId` string
  - `ticketTypeId` string
  - `workScheduleProfileId` string

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - added the new optional `query` request parameter `dryRun`
- **2022-12-03** `cc274ef79dfd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/ticketAssignmentRule/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)
