---
name: "website_preview"
area: "websites"
title: "Preview a website"
price: "free"
method: "POST"
url: "https://api.conecto.chat/v1/tools/website_preview"
mcp_server: "https://api.conecto.chat/mcp/websites"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/websites/website_preview"
---

# Preview a website (`website_preview`)

A private link to the draft as it would look published, working for 24 hours.

A private link to the draft as it would look published, working for 24 hours (search engines are told to stay away). Open it, or send it to a person to check.

Price: Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads. A call that fails costs nothing.

## Use it when

Before publishing, to check the draft or show it to a person.

## Say this to your agent

> Let me see the website before it goes live.

## 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. |  |  |
| `path` | string | no | The page to open. Default the home page. Up to 120 characters. |  |  |

## Example

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

MCP: call `website_preview` 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_preview \
  -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_preview",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.00",
  "balance_usd": "$19.75",
  "result": {
    "preview_url": "https://cncto.co/w/halverson-cycle/_preview/eyJzIjoxfQ:1xHM0w:epsl-vYS4CiBwygqHg8E1fBGsz3dXse2djHbXTiV70s/",
    "expires_in_hours": 24
  }
}
```

`result`: preview_url: a private link to the draft page, and how many hours it works.

## 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. |

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_publish](https://conecto.chat/tools/websites/website_publish.md): Puts the draft online; the first publish starts the monthly rent, later ones cost the price of an edit. $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.
- [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.
