WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Domain → Get Nameservers

AI-generated

Summary

Retrieve nameservers for a specified domain in WHMCS

Inputs

  • domainid (required) — ID of the client domain record (tbldomains.ID)
  • customParameters — Any additional WHMCS parameter not covered by the fields above. Names must match the WHMCS API Reference exactly (case-sensitive).

Output shape

an object containing a 'nameservers' array of nameserver definitions

Each nameserver entry includes fields such as 'id', 'name', 'ipv4', and 'ipv6'; missing fields are omitted; the response also includes a 'status' field indicating success.

Examples

Example 1: Lookup nameservers for domain with ID 123

Resource=Domain, Operation=Get Nameservers, Domain ID=123, no custom parameters

Links

Discussion