---
title: "Publish a saved panel draft or edit its active Discord message"
method: POST
path: "/v2/server/{serverId}/tickets/{panelName}/publish"
tags: ["Server Tickets"]
---

# Publish a saved panel draft or edit its active Discord message

`POST /v2/server/{serverId}/tickets/{panelName}/publish`

## Request

- Base URL: `https://api.clashk.ing`
- URL: `https://api.clashk.ing/v2/server/{serverId}/tickets/{panelName}/publish`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/clashk/apis/clashking-api/docs/v2/server/:serverId/tickets/:panelName/publish/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `serverId` string, required
- `panelName` string, required

## Request body

- object
  - `nonce` string, required: Discord snowflake as an unsigned decimal string
  - `expectedUpdatedAt` string, required
  - `channelId` string: Discord snowflake as an unsigned decimal string

## Response `200`

Success

- object
  - `effectId` string, required
  - `panelId` string, required
  - `state` 'pending' | 'executing' | 'uncertain' | 'succeeded' | 'failed', required
  - `statusCustomId` string, required
  - `messageId` string: Discord snowflake as an unsigned decimal string

## Changes

- **2026-11-05** `f1874003a53d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clashk/apis/clashking-api/changes/v2/server/:serverId/tickets/:panelName/publish/post.md)

---

[API](https://skmtc.dev/clashk/apis/clashking-api.md) - [All operations](https://skmtc.dev/clashk/apis/clashking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clashk/apis/clashking-api/revisions/666beefa8327?raw)
