Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WHMCS Domains API

Domain registration and management

WHMCS Domains API is one of 7 APIs that WHMCS publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Domains. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and 4 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://{your-domain}/includes/api.php.

2 operations 2 paths 3 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://{your-domain}/includes/api.php
Authentication
API Key
Resource Areas
1

Authentication & Security 1

WHMCS Domains API declares 1 security scheme for authenticating requests. An API key is passed in the query as identifier (ApiCredentials). By default, every request must be authenticated.

  • ApiCredentials — WHMCS API credentials. Provide identifier and secret parameters in the POST request body, along with the action parameter.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Domains 2

Domain registration and management

POST
/?action=DomainRegister
Domain Register
domainRegister body → 200
POST
/?action=DomainWhois
Domain WHOIS
domainWhois body → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are AuthCredentials (3 properties), DomainWhoisResponse (3 properties), SuccessResponse (2 properties). Each schema is shown below with its type and property counts.

DomainWhoisResponse
object
3 properties
SuccessResponse
object
2 properties
AuthCredentials
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

whmcs-domains-api-openapi.yml Raw ↑

Other APIs WHMCS publishes across the network.

WHMCS Authentication API
WHMCS Billing API
WHMCS Clients API
WHMCS Orders API
WHMCS Support API
WHMCS System API