Domains: WHOIS
Create WHOIS profile
Changed onCreate WHOIS contact profile.
Use this endpoint to add new contact information for domain registration.
post/api/domains/v1/whois
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/domains/v1/whois
- Auth: HTTP bearer
Request body
Example request
{
"tld": "com",
"country": "NL",
"entity_type": "individual"
}Response
Success response
Example response
{
"id": 746263,
"tld": "com",
"country": "NL",
"entity_type": "individual",
"is_default": true,
"whois_details": {
"first_name": "John",
"last_name": "Doe",
"email": "john@doe.tld"
},
"created_at": "2025-02-27T11:54:22Z",
"updated_at": "2025-03-19T11:54:22Z"
}Changes
- info
added the optional property
to the response with the status
- info