This function lists all active and open support tickets from the cPanel Customer Portal.
Note:
This function is not available through the command line. You must call it as a request body.
HTTP Request was successful.
object | |
object |
https://hostname.example.com:2087/cpsess##########/json-api/ticket_list?api.version=1&ticket_id=999999999&server_num=2
{- "data": {
- "auths": [
- {
- "servers": [
- {
- "auth_status": "AUTHED",
- "auth_time": 1400603208,
- "server_name": "My Server",
- "server_num": 2,
- "ssh": "10.11.12.13:22",
- "ssh_username": "username",
- "whm_ip": "10.11.12.13"
}
], - "ticket_id": 999999999,
- "ticket_status": "OPEN",
- "ticket_subject": "Example ticket"
}
], - "non_fatals": [ ]
}, - "metadata": {
- "command": "ticket_list",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}