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

Get CDN status

Returns whether the Hostinger CDN is enabled for the website domain.

Get CDN status

get

Returns whether the Hostinger CDN is enabled for the website domain. Works for the main domain, parked domains and subdomains of the account.

The domain must be the exact website name as listed on the account, without a www. prefix. Returns 404 when the domain is not a website on the account.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
usernamestringRequiredExample: u123456789
domainstringRequired

Domain name

Example: mydomain.tld
Responses
200

Success response

application/json
is_enabledbooleanRequired

Whether the Hostinger CDN is enabled for the website domain

Example: true
get/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status
GET /api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "is_enabled": true
}

Last updated

Was this helpful?