Horizons: Websites

Get the link for the user to open their website in Hostinger Horizons interface.\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\n is_in_progress is true while changes are being generated or the website is being published; wait until it is false before publishing. published_at is when the website was last published, is_template is whether its published pages show the "Use template" banner, and has_ecommerce_store is whether it has an online store.\n Websites can be edited with the Edit website tool, or by the user in Hostinger Horizons interface in the provided website URL.

get/api/horizons/v1/websites/{websiteId}

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/horizons/v1/websites/{websiteId}
  • Auth: HTTP bearer

Path parameters

websiteIdstring required
Example:123e4567-e89b-12d3-a456-426614174000

The website ID

Response

Success response

website_urlstring required

The website URL for the user to access their website in Hostinger Horizons interface

published_atstring date-time nullable

When the website was last published, or null if it has never been published

is_templateboolean

Whether the website is published as a template, so its published pages show a "Use template" banner

is_in_progressboolean

Whether Hostinger Horizons is still generating changes or publishing the website. Publishing is refused while it is true, and editing while changes are being generated. An unfinished template migration also refuses publishing, with its own error, without setting this flag.

has_ecommerce_storeboolean

Whether the website has an ecommerce store

Example response

{
  "website_url": "https://horizons.hostinger.com/123e4567-e89b-12d3-a456-426614174000?location=chatgpt",
  "published_at": "2026-01-15T10:30:45Z"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added