WHMCS · Example Payload

Whmcs Get Clients Example

Retrieve a paginated list of client accounts from WHMCS.

Web HostingBilling AutomationClient ManagementDomain ManagementSupport TicketsProvisioning

Whmcs Get Clients Example is an example object payload from WHMCS, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionrequestresponse

Example Payload

Raw ↑
{
  "operation": "GetClients",
  "description": "Retrieve a paginated list of client accounts from WHMCS.",
  "request": {
    "method": "POST",
    "url": "https://example.com/includes/api.php",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": {
      "identifier": "your-api-identifier",
      "secret": "your-api-secret",
      "action": "GetClients",
      "responsetype": "json",
      "limitstart": 0,
      "limitnum": 25,
      "sorting": "ASC"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "result": "success",
      "totalresults": 2,
      "startnumber": 0,
      "numreturned": 2,
      "clients": {
        "client": [
          {
            "id": 1,
            "firstname": "John",
            "lastname": "Doe",
            "email": "john.doe@example.com",
            "datecreated": "2024-01-15",
            "groupid": 0,
            "status": "Active",
            "credit": 0.00,
            "country": "US"
          },
          {
            "id": 2,
            "firstname": "Jane",
            "lastname": "Smith",
            "email": "jane.smith@example.com",
            "datecreated": "2024-03-22",
            "groupid": 0,
            "status": "Active",
            "credit": 25.00,
            "country": "GB"
          }
        ]
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/whmcs-get-clients-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.