WHMCS · Example Payload

Whmcs Open Ticket Example

Open a new support ticket in WHMCS.

Web HostingBilling AutomationClient ManagementDomain ManagementSupport TicketsProvisioning

Whmcs Open Ticket 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": "OpenTicket",
  "description": "Open a new support ticket in 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": "OpenTicket",
      "responsetype": "json",
      "deptid": 1,
      "subject": "Cannot access cPanel",
      "message": "I am unable to log into my cPanel account. The login page is showing a blank screen.",
      "priority": "High",
      "clientid": 1
    }
  },
  "response": {
    "status": 200,
    "body": {
      "result": "success",
      "id": 15,
      "tid": "894756",
      "c": "abc123def456"
    }
  }
}