ESHRAM PHOTO DETAILS
Base Endpoint URL
https://api.devilapi.online/service_api/v1/eshram/photo_details.php
Parameters Payload
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | REQUIRED | enter_key |
| uid | number | REQUIRED | enter_uid |
PHP Integration Code
curl_request.php
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.devilapi.online/service_api/v1/eshram/photo_details.php?api_key=&uid=', 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": "", "uid": "" } )); $response = curl_exec($curl); curl_close($curl); echo $response;
Example Response Payload
200 OK
{
"status": "success",
"message": "Data Found Successfully",
"sms_sent": true,
"fee": 10,
"uid": "123456789012",
"ekycstate": "Madhya Pradesh",
"data": {
"name": "Rahul Sharma",
"localname": "राहुल शर्मा",
"dob": "15\/08\/1995",
"gender": "Male",
"realtive": "Mahesh Sharma",
"localrelative": "महेश शर्मा",
"full_address": "45, Shanti Nagar, Near Bus Stand, Bhopal, Madhya Pradesh - 462001",
"ekycPhotoBaseStr": "\/9j\/4AAQSkZJRgABAQAAAQABAAD\/2wBDAP\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/"
}
}
Bearer Token Authentication
All API requests require active authentication tokens sent inside HTTP Bearer headers.