---
title: "Publish a bot"
method: POST
path: "/bot/{id}/publish"
tags: ["Bot"]
---

# Publish a bot

`POST /bot/{id}/publish`

## Path parameters

- `id` string, required

## Response `200`

Success

- PublishBotResponse
  - `version` string, nullable
  - `message` JsonValue
    - `options` JsonNodeOptions
      - `propertyNameCaseInsensitive` boolean
    - `parent` JsonNode
      - `options` JsonNodeOptions
        - `propertyNameCaseInsensitive` boolean
      - `parent` JsonNode — recursive
      - `root` JsonNode — recursive
    - `root` JsonNode
      - `options` JsonNodeOptions
        - `propertyNameCaseInsensitive` boolean
      - `parent` JsonNode — recursive
      - `root` JsonNode — recursive

## Other responses

- `400` — Bad Request

---

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