Hosting: Domains
Generate a free subdomain
Generate a unique free subdomain that can be used for hosting services without purchasing custom domains. Free subdomains allow you to start using hosting services immediately and you can always connect a custom domain to your site later.
post/api/hosting/v1/domains/free-subdomains
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/domains/free-subdomains
- Auth: HTTP bearer
Response
Success response
Example response
{
"domain": "palegreen-fox-548498.hostingersite.com"
}Changes
No recorded changes to this operation across all 130 revisions of this API.