Get Nameservers
Nameservers
Get Nameservers
Retrieves the nameservers assigned to the domain. Returns an object with keys ns1 through ns5.
GET
Get Nameservers
Headers
Reseller email address registered in WHMCS
Example:
HMAC-SHA256 authentication token.
PHP formula: base64_encode(hash_hmac('sha256', $apiKey, $email . ':' . gmdate('y-m-d H')))
Important: hash_hmac without the 3rd parameter true (returns hex, not binary), then base64_encode of the hex result. The token is 88 characters long.
An optional timestamp header (Unix timestamp, 60-second tolerance) can be sent to synchronize time.
Example:
"YTk4YjRmNjI..."
Path Parameters
Domain name (e.g. example.com)
Example:
"example.com"
Body
application/x-www-form-urlencoded
Domain name
Example:
"example.com"