Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Domain → Get Many
AI-generatedSummary
Fetch a list of domains from WHMCS, optionally limited and filtered.
Inputs
- returnAll — Whether to return all results or only up to a given limit
- limit — Max number of results to return
- filters — Filters to apply (e.g., clientid, domainid)
- customParameters — Additional WHMCS parameters not covered by other fields; must match API reference exactly
Output shape
array of domain records
Limited by the limit parameter; use returnAll:true to fetch all. Custom parameters are forwarded to WHMCS.
Examples
Example 1: Get up to 25 domains for a specific client
resource=Domain, operation=Get Many, limit=25, filters={clientid=123}
Example 2: Retrieve all domains without filters
resource=Domain, operation=Get Many, returnAll=true
Example 3: Fetch domains with custom parameter customfields=5
resource=Domain, operation=Get Many, customParameters={parameter=[{name="customfields",value="5"}]}