# API: List Custom Automation Tasks

# listCustomAutomationTasks

List custom automation tasks scheduled for a specific account or domain.

# Required parameters

Parameter Description
type Entity type: Hosting or Domain
id Account or domain ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=listCustomAutomationTasks&type=TYPE&id=ID

# PHP Samples

# Response

{
    "success": true,
    "tasks": [
        {
            "id": "1",
            "task": "sendEmail",
            "name": "Send Email",
            "when": "after",
            "event": "InvoicePaid",
            "interval": "1",
            "interval_type": "DAY",
            "rel_type": "SingleHosting",
            "rel_id": "7"
        }
    ],
    "call": "listCustomAutomationTasks",
    "server_time": 1700000000
}
Last Updated: 5/4/2026, 2:20:58 PM