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 Authentication API

OAuth and SSO authentication operations

WHMCS Authentication 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 Authentication. 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 Authentication 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.

Authentication 2

OAuth and SSO authentication operations

POST
/?action=ValidateLogin
Validate Login
validateLogin body → 200
POST
/?action=CreateSsoToken
Create SSO Token
createSsoToken body → 200

Schemas 3

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

ValidateLoginResponse
object
3 properties
SsoTokenResponse
object
4 properties
AuthCredentials
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

whmcs-authentication-api-openapi.yml Raw ↑

Other APIs WHMCS publishes across the network.

WHMCS Billing API
WHMCS Clients API
WHMCS Domains API
WHMCS Orders API
WHMCS Support API
WHMCS System API