WHMCS · Schema

WHMCS Support Ticket

A WHMCS support ticket submitted by or on behalf of a client.

Web HostingBilling AutomationClient ManagementDomain ManagementSupport TicketsProvisioning

Properties

Name Type Description
id integer Internal ticket ID.
tid string Public-facing ticket identifier shown to clients.
deptid integer Department ID the ticket is assigned to.
deptname string Department name.
userid integer Client user ID associated with the ticket.
name string Contact name for the ticket.
email string Contact email address.
subject string Ticket subject.
message string Initial ticket message body.
status string Current ticket status.
priority string Ticket priority level.
date string Ticket creation date and time.
lastreply string Date and time of the most recent reply.
flag integer Admin flag status.
service string Service associated with the ticket.
replies array Thread of replies on the ticket.
View JSON Schema on GitHub

JSON Schema

whmcs-ticket-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whmcs/main/json-schema/whmcs-ticket-schema.json",
  "title": "WHMCS Support Ticket",
  "description": "A WHMCS support ticket submitted by or on behalf of a client.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Internal ticket ID."
    },
    "tid": {
      "type": "string",
      "description": "Public-facing ticket identifier shown to clients."
    },
    "deptid": {
      "type": "integer",
      "description": "Department ID the ticket is assigned to."
    },
    "deptname": {
      "type": "string",
      "description": "Department name."
    },
    "userid": {
      "type": "integer",
      "description": "Client user ID associated with the ticket."
    },
    "name": {
      "type": "string",
      "description": "Contact name for the ticket."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Contact email address."
    },
    "subject": {
      "type": "string",
      "description": "Ticket subject."
    },
    "message": {
      "type": "string",
      "description": "Initial ticket message body."
    },
    "status": {
      "type": "string",
      "enum": ["Open", "Answered", "Customer-Reply", "Closed", "On Hold", "In Progress"],
      "description": "Current ticket status."
    },
    "priority": {
      "type": "string",
      "enum": ["Low", "Medium", "High"],
      "description": "Ticket priority level."
    },
    "date": {
      "type": "string",
      "format": "date-time",
      "description": "Ticket creation date and time."
    },
    "lastreply": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of the most recent reply."
    },
    "flag": {
      "type": "integer",
      "description": "Admin flag status."
    },
    "service": {
      "type": "string",
      "description": "Service associated with the ticket."
    },
    "replies": {
      "type": "array",
      "description": "Thread of replies on the ticket.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "userid": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "admin": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": ["id", "tid", "subject", "status", "priority"],
  "additionalProperties": true
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/whmcs-ticket"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.