---
title: "Edit website"
method: POST
path: "/api/horizons/v1/websites/{websiteId}/messages"
tags: ["Horizons: Websites"]
---

# Edit website

`POST /api/horizons/v1/websites/{websiteId}/messages`

Edit an existing Hostinger Horizons website with a follow-up message.\n
Use this tool when the user wants to change, extend or fix a website that already exists.\n
This tool queues the requested changes and returns the website URL and ID.
The changes are applied asynchronously.\n
After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
that Hostinger Horizons is now applying the requested changes and they will be ready
in a few minutes, and you should provide the website URL to the user immediately.
Do not write code.\n
If the tool call fails with an error, you should provide a clear explanation of the error
and do not generate code yourself in the chat.

## Path parameters

- `websiteId` string, required

## Request body

- HorizonsV1WebsitesEditWebsiteRequest
  - `message` object[], required
    - `type` 'text', required
    - `text` string, required — Detailed description of the changes to apply to the website. Include which sections, features, content or design should change and how. The specification should be detailed and comprehensive, covering all requested changes.

## Response `200`

Success response

- HorizonsV1WebsitesCreatedWebsiteResource
  - `website_url` string, required — The website URL for the user to access their website in Hostinger Horizons interface
  - `website_id` string, required — The website ID

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

## Changes

- **2026-09-09** `075ff56db60b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/horizons/v1/websites/:websiteId/messages/post.md)

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostinger/apis/hostinger-api/revisions/f086c8278a09?raw)
