Horizons: Websites
Publish website
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.
post/api/horizons/v1/websites/{websiteId}/publish
Path parameters
websiteIdstring required
Example:123e4567-e89b-12d3-a456-426614174000
The website ID
Response
Success response
Example response
{
"status": "publishing",
"published_url": "https://palegreen-dragonfly-303128.hostingersite.com",
"website_url": "https://horizons.hostinger.com/123e4567-e89b-12d3-a456-426614174000?location=chatgpt",
"website_id": "123e4567-e89b-12d3-a456-426614174000"
}Changes
Changed in 1 of the 117 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○