> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/agency-hosting/ssl/install-website-ssl.md).

# Install website SSL

Starts a Let's Encrypt certificate setup for the domain and returns at once; the setup runs in the background.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/agency-hosting/v1/websites/{website\_uid}/domains/{domain}/ssl/setup" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
