---
name: "website_publish"
area: "websites"
title: "Publish a website"
price: "$5 for the first publish (the first month of the site's rent), $0.01 after that ($5.00 the first time, then $0.01), up to $5.00"
method: "POST"
url: "https://api.conecto.chat/v1/tools/website_publish"
mcp_server: "https://api.conecto.chat/mcp/websites"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/websites/website_publish"
---

# Publish a website (`website_publish`)

Puts the draft online; the first publish starts the monthly rent, later ones cost the price of an edit.

Put the draft online at cncto.co/w/<name>: visitors see exactly this version until the next publish. The first publish starts the site's rent, $5 a month from the balance; later publishes cost $0.01. The last 20 versions are kept (website_rollback).

Price: $5 for the first publish (the first month of the site's rent), $0.01 after that ($5.00 the first time, then $0.01), up to $5.00. A call that fails costs nothing.

## Use it when

The draft was checked and the owner wants it live.

## Say this to your agent

> The site looks good. Put it online.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `site` | string | yes | The site's name, as in cncto.co/w/<name>. 3 to 60 characters. |  |  |

## Example

Written for Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon.

MCP: call `website_publish` on the MCP server `https://api.conecto.chat/mcp/websites` with these arguments:

```json
{
  "site": "halverson-cycle"
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/website_publish \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"site": "halverson-cycle"}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "website_publish",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$5.00",
  "balance_usd": "$19.75",
  "result": {
    "site": {
      "name": "halverson-cycle",
      "title": "Halverson Cycle & Repair",
      "description": "Bikes, repairs and fittings from our workshop in Portland.",
      "language": "en",
      "address": "https://cncto.co/w/halverson-cycle/",
      "published": true,
      "live_version": 1,
      "rent": {
        "rental_id": 4101,
        "kind": "website",
        "label": "Website: cncto.co/w/halverson-cycle",
        "status": "active",
        "monthly_usd": "$5.00",
        "renews_at": "2026-11-14T08:00:00+00:00",
        "grace_until": null
      },
      "settings": {},
      "updated_at": "2026-10-14T08:00:00+00:00"
    },
    "version": 1,
    "address": "https://cncto.co/w/halverson-cycle/"
  }
}
```

`result`: The site with its address, live version and rent (started by the first publish), the version just published, and the address.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `not_found` | 404 | No website of the business has that name. | Call website_list and use one of its names. |
| `price_changed` | 409 | The site's rent ended a moment ago, so this publish starts a new month. | Publish again; nothing was charged. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [website_create](https://conecto.chat/tools/websites/website_create.md): Starts a website for the business at cncto.co/w/<name> as a draft with a home page, in its brand. $0.01 a call.
- [website_save_page](https://conecto.chat/tools/websites/website_save_page.md): Creates or changes a page of the draft from sections, or a blog post in Markdown. $0.01 a call.
- [website_settings](https://conecto.chat/tools/websites/website_settings.md): Changes the site's title, description, language, footer, header button, blog, and whether its pages carry the analytics script and the chat. $0.001 a call.
- [website_preview](https://conecto.chat/tools/websites/website_preview.md): A private link to the draft as it would look published, working for 24 hours. Free up to 1,000,000 reads a month.
- [website_get](https://conecto.chat/tools/websites/website_get.md): A site with every page of its draft, its settings, its kept versions, and whether the draft has unpublished changes. Free up to 1,000,000 reads a month.
- [website_list](https://conecto.chat/tools/websites/website_list.md): The business's websites, published or not. Free up to 1,000,000 reads a month.
- [website_delete_page](https://conecto.chat/tools/websites/website_delete_page.md): Removes a page or post from the draft; the home page stays. $0.001 a call.
- [website_rollback](https://conecto.chat/tools/websites/website_rollback.md): Publishes one of the kept versions again; the draft stays as it is. $0.01 a call.
- [website_unpublish](https://conecto.chat/tools/websites/website_unpublish.md): Takes the site offline and ends its rent; the draft and versions stay. Free.
- [website_delete](https://conecto.chat/tools/websites/website_delete.md): Deletes a site for good, with its pages, versions and address; the name is never used again. Free.
