# API: List Custom Automation Task Types
# listCustomAutomationTaskTypes
List available custom automation task types with their events and configuration options for a given context.
# Required parameters
| Parameter | Description |
|---|---|
type | Entity type: Hosting or Domain |
# Optional parameters
| Parameter | Description |
|---|---|
id | Account or domain ID to filter task types by product configuration |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=listCustomAutomationTaskTypes&type=TYPE
# PHP Samples
# Response
{
"success": true,
"tasks": {
"sendEmail": {
"name": "Send Email",
"description": "",
"config": {
"email_id": {
"name": "Email to send",
"type": "loadable",
"value": "0"
}
}
}
},
"call": "listCustomAutomationTaskTypes",
"server_time": 1700000000
}