Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Client → Get Client's Domains
AI-generatedSummary
Retrieves the domains associated with a specified client.
Inputs
- clientid (required) — Numeric ID of the client; use 0 to search by email.
- customParameters — Additional WHMCS parameters to include in the API call; names must match the WHMCS API Reference exactly (case-sensitive).
Output shape
array of domain objects
Empty array if the client has no domains; pagination can be controlled via limit parameter; errors are reported as operation errors.
Examples
Example 1: Fetch domains for a client
Set Client ID to 123, leave Custom Parameters empty, operation is pre‑selected as Get Client's Domains.