| id required | string The script hook's ID. Note: To retrieve a hook's ID, use the WHM API 1 list_hooksfunction. Example:  id=HzEpGvT6QGUYwxuX3hWB8AUq | 
| check | string The absolute file path to the script that runs after the hook script to check the results. Example:  check=/scripts/postcourier-authlibup | 
| description | string The hook script's description. Example:  description=TestHook | 
| enabled | integer Enum: 0 1Whether the hook script is enabled. 
1— Enabled.0— Disabled. Example:  enabled=1 | 
| exectype | string Enum: "script" "module"The type of function that the script hook launches. 
script— Runs a script.module— Calls a function in a module. Example:  exectype=script | 
| hook | string The hook script's absolute file path or its module::subroutineinvocation. Example:  hook=/scripts/postcourier-authlibup | 
| notes | string  Example:  notes=Note. | 
| rollback | string The absolute file path to the script that rolls back the hook script. Example:  rollback=/scripts/postcourier-authlibup | 
| stage | string Enum: "pre" "post"The condition when the hook script executes. 
pre— The script runs before the function.post— The script runs after the function. Example:  stage=post | 
| weight | integer  >= 1  The script hook's priority in the hook's stage, where a lower value runs before a higher value. Example:  weight=100 |