For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get website SSL status

Returns the SSL state of one domain of an Agency Plan website: the certificate status, whether the certificate was uploaded by the customer, and when it stops being valid.

Get website SSL status

get

Returns the SSL state of one domain of an Agency Plan website: the certificate status, whether the certificate was uploaded by the customer, and when it stops being valid.

installing means a certificate setup is running or retrying; the ssl_setup entry of List website processes shows the same progress. active means a valid certificate is in place: uploaded by the customer, issued by the platform, or a lifetime certificate bought for the domain. failed means the last setup gave up and no valid certificate is in place. expired means the certificate has run out. not_installed means the domain has no certificate and no setup process. Returns 404 when the website or the domain does not exist.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
website_uidstringRequired

Agency Plan website UID

Example: zpwlGlp19
domainstringRequired

Domain name

Example: mydomain.tld
Responses
200

Success response

application/json
statusstring · enumRequired

installing while a certificate setup is running or retrying, active when a valid certificate is in place (uploaded, platform-issued, or a lifetime certificate bought for the domain), failed when the last setup gave up and no valid certificate is in place, expired when the certificate has run out, not_installed when the domain has no certificate and no setup process.

Example: activePossible values:
is_custombooleanRequired

Whether the certificate was uploaded by the customer instead of issued or sold by the platform.

Example: false
expires_atstring · date-time · nullableRequired

End of the validity period of the certificate in place; null when there is none or the uploaded certificate carries no expiry.

Example: 2027-01-15T10:30:00Z
get/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}/ssl/status
GET /api/agency-hosting/v1/websites/{website_uid}/domains/{domain}/ssl/status HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "status": "active",
  "is_custom": false,
  "expires_at": "2027-01-15T10:30:00Z"
}

Last updated

Was this helpful?