API Documentation
Dhru Fusion compatible REST API. Integrate our services into your panel.
Authentication
All API requests require authentication via username and apiaccesskey sent as POST parameters.
Generate your API key from the Dashboard.
Base URL
Method
Required Parameters (all requests)
| Parameter | Type | Description |
|---|---|---|
username |
string | Your account username required |
apiaccesskey |
string | Your API access key required |
action |
string | The API action to perform required |
Returns your account information including username, email, credit balance, and role.
Example Request (cURL)
Success Response
Returns all available services with ID, name, group, credit cost, and delivery time. Prices shown are based on your account role (reseller vs user pricing).
Example Request
Success Response
Submit an IMEI for processing. Credits will be deducted from your balance.
Additional Parameters
| Parameter | Type | Description |
|---|---|---|
ID |
integer | Service ID from imeiservicelist required |
IMEI |
string | 15-digit IMEI number required |
SN |
string | Serial number optional |
Example Request
Success Response
Check the status and result of a previously placed order.
Additional Parameters
| Parameter | Type | Description |
|---|---|---|
ID |
integer | Order ID returned from placeimeiorder required |
Example Request
Success Response
Error Responses
All errors return a JSON object with an ERROR key containing the error message.
PHP Example
Dhru Fusion Panel Setup
1 Add API Server
In your Dhru Fusion panel, go to Modules > API Server Settings and add a new server.
2 Enter Credentials
Set the API URL to http://localhost/api/ and enter your username + API key.
3 Sync Services
Click "Update Service List" to pull all available services. Set your markup and you're ready!