# Publish chatbot

**POST** `/chatbots/{id}/publish`

Validates and snapshots the current draft definition as an immutable version.

Authentication: bearerAuth
Required scopes: `journey:publish`
Allowed roles: `owner`, `admin`, `agent`
Authorization: Publish a chatbot version.

## Parameters

- `id` (path string, required)

## Responses

- `200`: Version published
- `default`: Error
