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

# Publish website

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

Publish a Hostinger Horizons website so its latest changes go live.\n
Use this tool when the user asks to publish, deploy or make their website live.\n
This tool starts the publish process and returns the URL the website will be live on.
Publishing happens asynchronously and takes a few minutes.\n
After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
that the website is being published and you should provide the published URL to the user immediately.

## Path parameters

- `websiteId` string, required

## Response `200`

Success response

- HorizonsV1WebsitesPublishedWebsiteResource
  - `status` 'publishing', required — Always `publishing` - the build runs asynchronously after this response
  - `published_url` string, required — The URL the published website will be live on in a few minutes
  - `website_url` string, required — The website URL for the user to track progress in Hostinger Horizons interface
  - `website_id` string, required — The website ID

## Other responses

- `401` — Unauthenticated 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/publish/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)
