WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Client → Get Client's Domains

AI-generated

Summary

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.

Links

Discussion