Devil API

VOTER STATUS CHEK

Base Endpoint URL

https://api.devilapi.online/service_api/v1/voter/voter_status.php

Parameters Payload

Parameter Type Required Description
api_key string REQUIRED enter_you_key
ref_id string REQUIRED enter_you_applicaiton

PHP Integration Code

curl_request.php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
   CURLOPT_URL => 'https://api.devilapi.online/service_api/v1/voter/voter_status.php?api_key=&ref_id=',
   CURLOPT_RETURNTRANSFER => true,
   CURLOPT_ENCODING => '',
   CURLOPT_MAXREDIRS => 10,
   CURLOPT_TIMEOUT => 30,
   CURLOPT_FOLLOWLOCATION => true,
   CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
   CURLOPT_CUSTOMREQUEST => 'GET',
   CURLOPT_POSTFIELDS => {
    "api_key": "",
    "ref_id": ""
}
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
Example Response Payload
200 OK
{
    "status": "success",
    "message": "Status Fetched Successfully.",
    "sms_sent": true,
    "Fee": 1,
    "data": {
        "firstName": "************",
        "lastName": null,
        "stateCode": "S**",
        "formRefNo": "S24***************",
        "formType": "FORM8",
        "submissionDate": "12-07-2026",
        "erollUpdatedDate": "12-07-2026",
        "currentStatus": "EROLL UPDATED",
        "epicNo": null,
        "epicDispatchedDate": null,
        "hearingScheduled": null,
        "markIncompleteDate": null,
        "acceptedDate": null,
        "rejectedDate": null,
        "rejectionReason": null
    }
}
Bearer Token Authentication All API requests require active authentication tokens sent inside HTTP Bearer headers.