eq_callback.php¶
Module for processing asynchronous responses from workers to manage hardware (EQ) and virtual machines. It processes task statuses (deploy, reinstall, backup, network), updates billing, and sends notifications to customers.
API Methods¶
| Method | Action | Description |
|---|---|---|
check | check async job status | Checks the current status of an asynchronous job using a 32-character hex key. Returns job scope, context, and debug information. |
reinstall | reinstall callback receiver | Processes the completion of a server reinstallation job, updates billing status via WHMCS, notifies customers, and cleans up deployment tags. |
eq_callback/check¶
Checks the current status of an asynchronous job using a 32-character hex key. Returns job scope, context, and debug information.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | The action to perform (e.g., check) |
| ?key | ✅ | string | 32-character alphanumeric async job key |
Example Request
Example of a successful response
eq_callback/reinstall¶
Processes the completion of a server reinstallation job, updates billing status via WHMCS, notifies customers, and cleans up deployment tags.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | The action being performed (must be 'reinstall' for this handler) |
| key | ✅ | string | 32-character alphanumeric async job key |
| status | ✅ | string | The status/result received from the worker (e.g., 'deploy_done', 'Error') |
Example Request