Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Domain → Get Nameservers
AI-generatedSummary
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